Hi,
I installed sobby, and tried to use part of your patch to make sobby run as a 
daemon. I found a few problems with your init script:

First, if SESSION_FILE does not exist (at first sobby startup for example),
daemon starting fails silently. If I just launch sobby on the command line, it 
tells 
Could not open file '/var/lib/sobby/sobby.log' for reading
Also, if autosave_file is written in sobby.conf it is taken into account 
anyway.
So I replaced 
DAEMON_ARGS="-c /etc/sobby.conf $SESSION_FILE"
with
DAEMON_ARGS="-c /etc/sobby.conf"

Also, I had to add the line
. /lib/lsb/init-functions
otherwise, log_daemon_msg (and possibly other functions) were not defined

Last, checkbashisms finds a "bashism" on line 
[ "$RUNSOBBY" == "yes" ] || exit 0
I replaced that line with
[ "$RUNSOBBY" = "yes" ] || exit 0

hope that helps

Attachment: signature.asc
Description: Digital signature

Reply via email to