Comment 2 for bug 235137

Revision history for this message
Daniel Paufler (d-paufler-ergomedia) wrote :

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