diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-10-23 19:15:51 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-10-23 19:16:12 -0700 |
commit | 0a5d14b1025cef5aa40fd48aa5200508a124fd02 (patch) | |
tree | 330314c259c734377f64bcd03f01ed6675d6eadf /dev-db/etcd | |
parent | dev-java/juel: fix revbump version (diff) | |
download | gentoo-0a5d14b1025cef5aa40fd48aa5200508a124fd02.tar.gz gentoo-0a5d14b1025cef5aa40fd48aa5200508a124fd02.tar.bz2 gentoo-0a5d14b1025cef5aa40fd48aa5200508a124fd02.zip |
dev-db/etcd: add an install section to the systemd service unit
Package-Manager: portage-2.2.23
Diffstat (limited to 'dev-db/etcd')
-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 |