-   Linux - Software (
-   -   Ubuntu start-stop-daemon problem (

CollieJim 06-13-2011 08:52 AM

Ubuntu start-stop-daemon problem
I have been using Gentoo, and the following command gives me the status of a program I have running as a daemon:

        start-stop-daemon --signal SIGUSR1 --quiet  --pidfile $PIDFILE
I have switched to Kubuntu for a while to check it out. Unfortunately that command fails with Ubuntu's version, telling me that --start or --stop is required, and it does not like SIGUSR1. I suppose Gentoo's version could be the same now as I have not updated for a while.

How do I send a command besides start or stop to a daemon?


BTW The reason for the switch is that I could not get the video and networking on my Toshiba Satellite working, but Ubuntu handles then out of the box (disc?)

CollieJim 06-14-2011 08:44 AM

To answer my own question,

add --stop to the command, and
change SIGUSR1 to USR1.

It's rather poor, I think, to require --stop when the intent is *not* to terminate the process.

All times are GMT -5. The time now is 08:01 AM.