supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* sending SIGUSR1
@ 2004-05-11 13:22 George Georgalis
  2004-05-11 13:30 ` Lukas Beeler
  2004-05-11 13:41 ` Wayne Marshall
  0 siblings, 2 replies; 3+ messages in thread
From: George Georgalis @ 2004-05-11 13:22 UTC (permalink / raw)



Hi -

Is there a way to send the SIGUSR1 signal (ie apachectl graceful) to
a supervised task? Since apache generates a PID file, I can just run
"apachectl graceful" but I wanted to modify the /etc/init.d/apache
script to send "svc -u -SIGUSR1" with start/reload.

// George

-- 
George Georgalis, Architect and administrator, Linux services. IXOYE
http://galis.org/george/  cell:646-331-2027  mailto:george@galis.org
Key fingerprint = 5415 2738 61CF 6AE1 E9A7  9EF0 0186 503B 9831 1631



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sending SIGUSR1
  2004-05-11 13:22 sending SIGUSR1 George Georgalis
@ 2004-05-11 13:30 ` Lukas Beeler
  2004-05-11 13:41 ` Wayne Marshall
  1 sibling, 0 replies; 3+ messages in thread
From: Lukas Beeler @ 2004-05-11 13:30 UTC (permalink / raw)


* George Georgalis <george@galis.org>:
> Is there a way to send the SIGUSR1 signal (ie apachectl graceful) to
> a supervised task? Since apache generates a PID file, I can just run
> "apachectl graceful" but I wanted to modify the /etc/init.d/apache
> script to send "svc -u -SIGUSR1" with start/reload.

runsvctrl 1 /serivce/apache


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sending SIGUSR1
  2004-05-11 13:22 sending SIGUSR1 George Georgalis
  2004-05-11 13:30 ` Lukas Beeler
@ 2004-05-11 13:41 ` Wayne Marshall
  1 sibling, 0 replies; 3+ messages in thread
From: Wayne Marshall @ 2004-05-11 13:41 UTC (permalink / raw)


daemontools is easily patched to provide SIGUSR1; see:

  http://thedjbway.org/patches/daemontools-0.76.sigq12.patch

Stay well!

Wayne


On Tue, 11 May 2004 09:22:10 -0400
George Georgalis <george@galis.org> wrote:

> 
> Hi -
> 
> Is there a way to send the SIGUSR1 signal (ie apachectl
> graceful) to a supervised task? Since apache generates a PID
> file, I can just run"apachectl graceful" but I wanted to modify
> the /etc/init.d/apache script to send "svc -u -SIGUSR1" with
> start/reload.
> 
> // George
> 
> -- 
> George Georgalis, Architect and administrator, Linux services.
> IXOYE http://galis.org/george/  cell:646-331-2027 
> mailto:george@galis.org Key fingerprint = 5415 2738 61CF 6AE1
> E9A7  9EF0 0186 503B 9831 1631
> 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-11 13:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-11 13:22 sending SIGUSR1 George Georgalis
2004-05-11 13:30 ` Lukas Beeler
2004-05-11 13:41 ` Wayne Marshall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).