Ensure Zookeeper restarts itself
The Zookeeper daemon does not appear to exit with any status other than 0, even after a fatal error. Work around this.
This commit is contained in:
parent
bd4d94568e
commit
b112663ef0
|
@ -12,6 +12,7 @@ User = zookeeper
|
|||
Group = zookeeper
|
||||
EnvironmentFile = -/etc/zookeeper/conf/environment
|
||||
EnvironmentFile = -/etc/default/zookeeper
|
||||
Restart = always
|
||||
ExecStart = /usr/bin/java \
|
||||
-cp $CLASSPATH \
|
||||
$JAVA_OPTS \
|
||||
|
|
Loading…
Reference in New Issue