Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-13-2011, 08:52 AM   #1
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 511

Rep: Reputation: 19
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?)

Last edited by CollieJim; 06-13-2011 at 10:27 AM.
Old 06-14-2011, 08:44 AM   #2
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 511

Original Poster
Rep: Reputation: 19
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
start-stop-daemon problem with java vm vlyamtse Ubuntu 0 10-06-2009 02:32 PM
new daemon - start and stop questions zoran119 Slackware 3 11-18-2008 05:39 AM
Using debian start-stop-daemon on Centos powadha Linux - Software 1 11-02-2008 05:59 AM
start-stop-daemon for linux eliufoo Linux - Software 1 02-07-2008 02:12 AM
Logging with Start stop daemon bigsness Linux - General 0 01-19-2005 03:25 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration