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 2023-09-01 15:42:26 -04:00
parent b03ecf0125
commit 8eecc95f2f
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ User = zookeeper
Group = zookeeper Group = zookeeper
EnvironmentFile = -/etc/zookeeper/conf/environment EnvironmentFile = -/etc/zookeeper/conf/environment
EnvironmentFile = -/etc/default/zookeeper EnvironmentFile = -/etc/default/zookeeper
Restart = always
ExecStart = /usr/bin/java \ ExecStart = /usr/bin/java \
-cp $CLASSPATH \ -cp $CLASSPATH \
$JAVA_OPTS \ $JAVA_OPTS \