scottslowe-learning-tools/docker-swarm-etcd/etcd.conf
Scott Lowe 43c10c1785 Add/modify files for minimally-functional setup
Added and modified files to create a minimally functional setup.
README.md is still not up-to-date. Additional optimizations are
possible.
2015-04-16 12:49:38 -06:00

19 lines
No EOL
389 B
Text

description "etcd 2.0 distributed key-value store"
author "Scott Lowe <scott.lowe@scottlowe.org>"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]
respawn
respawn limit 10 5
script
if [ -f "/etc/default/etcd" ]; then
. /etc/default/etcd
fi
chdir /var/etcd
exec /usr/local/bin/etcd >>/var/log/etcd.log 2>&1
end script