diff options
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/etcd/files/etcd.service | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-db/etcd/files/etcd.service b/dev-db/etcd/files/etcd.service index 8c4663d03234..6823777066d6 100644 --- a/dev-db/etcd/files/etcd.service +++ b/dev-db/etcd/files/etcd.service @@ -1,11 +1,17 @@ [Unit] -Description=etcd +Description=Etcd Server +After=network.target [Service] -User=etcd +Type=notify PermissionsStartOnly=true Environment=ETCD_DATA_DIR=/var/lib/etcd Environment=ETCD_NAME=%m +WorkingDirectory=/var/lib/etcd/ +User=etcd ExecStart=/usr/bin/etcd -Restart=always -RestartSec=10s +Restart=on-failure +LimitNOFILE=65536 + +[Install] +WantedBy=default.target |