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:
Joshua Boniface 2021-07-19 13:03:09 -04:00
parent bd4d94568e
commit b112663ef0
1 changed files with 1 additions and 0 deletions

View File

@ -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 \