b86b1aa35f
Generate etcd config in form suitable for systemd init as well as for upstart. Change-Id: I78091d630e95d94e9b6effb077cce1fe63687474
17 lines
231 B
Plaintext
17 lines
231 B
Plaintext
# managed by juju, DO NOT EDIT
|
|
description "etcd"
|
|
author "etcd maintainers"
|
|
|
|
start on stopped rc RUNLEVEL=[2345]
|
|
stop on runlevel [!2345]
|
|
|
|
respawn
|
|
|
|
setuid etcd
|
|
|
|
script
|
|
set -a
|
|
. /etc/default/etcd
|
|
exec /usr/bin/etcd
|
|
end script
|