LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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:
Code:
	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?

TIA
Jim

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
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 434

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.
 
  


Reply


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 01:27 AM.

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