init.d: export HOME, required for docsplit (#4601)
This commit is contained in:
parent
e095dc6ed7
commit
36811e58fe
|
@ -18,6 +18,8 @@ DAEMON=/opt/pfwbged.buildout/bin/supervisord
|
||||||
PIDFILE=/var/run/$NAME.pid
|
PIDFILE=/var/run/$NAME.pid
|
||||||
DAEMON_ARGS="-u zope --pidfile $PIDFILE"
|
DAEMON_ARGS="-u zope --pidfile $PIDFILE"
|
||||||
SCRIPTNAME=/etc/init.d/$NAME
|
SCRIPTNAME=/etc/init.d/$NAME
|
||||||
|
HOME=/opt/pfwbged.buildout
|
||||||
|
export HOME
|
||||||
|
|
||||||
# Exit if the package is not installed
|
# Exit if the package is not installed
|
||||||
[ -x "$DAEMON" ] || exit 0
|
[ -x "$DAEMON" ] || exit 0
|
||||||
|
|
Reference in New Issue