supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Generic interrupt command?
@ 2019-02-02  2:36 Steve Litt
  2019-02-02  9:07 ` Laurent Bercot
  0 siblings, 1 reply; 13+ messages in thread
From: Steve Litt @ 2019-02-02  2:36 UTC (permalink / raw)
  To: supervision

Hi all,

I think a cool addition to runit program sv and s6's s6-svc would be a
command to send an arbitrary signal to the daemon being supervised.
Let's say a -z was added as an arg to s6-svc or a "genericinterrupt" was
added as an arg to sv. Now you could say:

sv genericinterrupt SIGIO myspecialdaemon

s6-svc -z SIGIO myspecialdaemon

The supervisor already knows the PID of what's being supervised, so it
would be an easy way to get an arbitrary signal into a daemon, for
those daemons that have non-standard signal usage.

SteveT

-- 

Steve Litt 
January 2019 featured book: Troubleshooting: Just the Facts
http://www.troubleshooters.com/tjust


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

end of thread, other threads:[~2019-02-10 11:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-02  2:36 Generic interrupt command? Steve Litt
2019-02-02  9:07 ` Laurent Bercot
2019-02-02 19:30   ` Steve Litt
2019-02-02 21:08     ` Colin Booth
2019-02-02 21:40       ` Steve Litt
2019-02-05  3:09         ` John O'Meara
2019-02-05  4:15           ` Roger Pate
2019-02-05  7:20           ` Laurent Bercot
2019-02-05 14:16             ` John O'Meara
2019-02-05 19:30               ` Laurent Bercot
2019-02-10  4:14                 ` John O'Meara
2019-02-10 11:41                   ` Laurent Bercot
2019-02-02 22:31       ` Jonathan de Boyne Pollard

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).