[cups.development] pid file

stan at saticed.me.uk stan at saticed.me.uk
Thu Nov 4 14:13:17 PST 2004


Would it be acceptable for cupsd to write a pid file so that init
scripts can stop it easily?

ATM I'm using doing it manually by keeping the process in the foreground
using -F.  Specifically "start-stop-daemon --start --quiet --exec
/usr/sbin/cupsd --pidfile /var/run/cupsd.pid --make-pidfile --background
-- -F"

As adding pid file writing capabilities doesn't seem that difficult (I
guess just below "if (parent_signal == SIGUSR1)" in scheduler/main.c) I
wondered if this had been omitted on purpose?

Thanks





More information about the cups-devel mailing list