I used the following at the beginning of dspam initscript :
[ -d /var/run/dspam ] || { mkdir /var/run/dspam; chown dspam: /var/run/dspam; }
(Did the same for the "sympa" initscript)
I believe the "chown" can be useful in letting the daemon act on its pidfile once started, isn't it ? If seen some daemons who are unhappy if their /var/run/something directory doesn't belong to them...
I used the following at the beginning of dspam initscript :
[ -d /var/run/dspam ] || { mkdir /var/run/dspam; chown dspam: /var/run/dspam; }
(Did the same for the "sympa" initscript)
I believe the "chown" can be useful in letting the daemon act on its pidfile once started, isn't it ? If seen some daemons who are unhappy if their /var/run/something directory doesn't belong to them...