supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* check script
@ 2007-03-12 14:44 Jorge Almeida
  2007-03-13 10:44 ` Gerrit Pape
  0 siblings, 1 reply; 3+ messages in thread
From: Jorge Almeida @ 2007-03-12 14:44 UTC (permalink / raw)
  To: supervision

I ran socklog-conf and it created a file /etc/sv/socklog-unix/check that
looks like a run script:
 	#!/bin/sh
 	exec 2>/dev/null
 	exec socklog-check unix /dev/log
Reading the man page for socklog-check, I would expect the run script
for the socklog-unix service to be like
 	#!/bin/sh
 	exec 2>&1
 	socklog-check || exit 1
 	exec chpst -Usyslogger socklog unix /dev/log
Instead, it is
 	#!/bin/sh
 	exec 2>&1
 	exec chpst -Usyslogger socklog unix /dev/log
and the check script is just aside the run script.

Can someone explain what is the purpose of /etc/sv/socklog-unix/check?

-- 
Jorge Almeida


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

end of thread, other threads:[~2007-03-13 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-12 14:44 check script Jorge Almeida
2007-03-13 10:44 ` Gerrit Pape
2007-03-13 14:38   ` Jorge Almeida

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