init.d: export HOME, required for docsplit (#4601)

This commit is contained in:
Frédéric Péters 2014-04-01 00:08:54 +02:00
parent e095dc6ed7
commit 36811e58fe
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ DAEMON=/opt/pfwbged.buildout/bin/supervisord
PIDFILE=/var/run/$NAME.pid
DAEMON_ARGS="-u zope --pidfile $PIDFILE"
SCRIPTNAME=/etc/init.d/$NAME
HOME=/opt/pfwbged.buildout
export HOME
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0