Skip to content

Commit c08eaf8

Browse files
Gabriel MonroyMatthew Fisher
authored andcommitted
chore(user-data): change yaml content to literal block
1 parent be7a003 commit c08eaf8

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

contrib/coreos/user-data

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,17 @@ coreos:
2020
WantedBy=sockets.target
2121
- name: etcd.service
2222
command: start
23-
content: "[Unit]\nDescription=etcd\n\n[Service]\nUser=etcd\nPermissionsStartOnly=true\nEnvironment=ETCD_DATA_DIR=/var/lib/etcd
24-
ETCD_NAME=default\nExecStart=/usr/bin/etcd \nRestart=always\nRestartSec=10s"
23+
content: |
24+
[Unit]
25+
Description=etcd
26+
27+
[Service]
28+
User=etcd
29+
PermissionsStartOnly=true
30+
Environment=ETCD_DATA_DIR=/var/lib/etcd ETCD_NAME=default
31+
ExecStart=/usr/bin/etcd
32+
Restart=always
33+
RestartSec=10s
2534
- name: fleet.service
2635
command: start
2736
content: |-

0 commit comments

Comments
 (0)