From: Jorge Almeida <jalmeida@math.ist.utl.pt>
To: supervision@list.skarnet.org
Subject: check script
Date: Mon, 12 Mar 2007 14:44:40 +0000 (WET) [thread overview]
Message-ID: <Pine.LNX.4.64.0703121432480.31479@jmaa.math.ist.utl.pt> (raw)
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
next reply other threads:[~2007-03-12 14:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-12 14:44 Jorge Almeida [this message]
2007-03-13 10:44 ` Gerrit Pape
2007-03-13 14:38 ` Jorge Almeida
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0703121432480.31479@jmaa.math.ist.utl.pt \
--to=jalmeida@math.ist.utl.pt \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).