Created
August 7, 2014 14:19
-
-
Save charl/c7cdc4f08aeec05e8eea to your computer and use it in GitHub Desktop.
Etcd upstart script for process control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "A highly-available key value store for shared configuration and service discovery" | |
author "Charl Matthee <[email protected]>" | |
start on (net-device-up | |
and local-filesystems | |
and runlevel [2345]) | |
stop on runlevel [016] | |
respawn | |
respawn limit 10 5 | |
chdir /var/lib/etcd | |
exec /usr/local/bin/etcd -config /etc/etcd/config.toml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment