same here. We set the following in our init.d script
--- snipp ---
test -x $DAEMON || exit 0
# Create hobbitclient PIDDIR
if [ -d /var/run -a ! -d /var/run/hobbit ]; then
mkdir -p /var/run/hobbit
chown hobbit.hobbit /var/run/hobbit
fi
# Set the right rights
if [ -d /var/lib/hobbit/tmp ]; then
chown -R hobbit.hobbit /var/lib/hobbit/tmp
chown -R hobbit.hobbit /usr/lib/hobbit/client/tmp
fi
# Include hobbitclient defaults if available
if [ -f /etc/default/hobbit-client ] ; then
. /etc/default/hobbit-client
fi
--- snipp ---
same here. We set the following in our init.d script
--- snipp ---
test -x $DAEMON || exit 0
# Create hobbitclient PIDDIR
if [ -d /var/run -a ! -d /var/run/hobbit ]; then
mkdir -p /var/run/hobbit
chown hobbit.hobbit /var/run/hobbit
fi
# Set the right rights hobbit/ client/ tmp
if [ -d /var/lib/hobbit/tmp ]; then
chown -R hobbit.hobbit /var/lib/hobbit/tmp
chown -R hobbit.hobbit /usr/lib/
fi
# Include hobbitclient defaults if available hobbit- client ] ; then hobbit- client
if [ -f /etc/default/
. /etc/default/
fi
--- snipp ---