supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Alejandro Mery <amery@opensde.org>
To: supervision@list.skarnet.org
Subject: post action
Date: Fri, 05 Nov 2010 12:36:29 +0100	[thread overview]
Message-ID: <4CD3EC3D.7070008@opensde.org> (raw)

Hi, I have a problem with a service [1] which runs fine and handles 
HUP, TERM correctly and sends output to stderr as a good citizen. 
Unfortunately it (re)creates a unix socket with permissions unfit 
for the purpose, so I have to chmod g+w /var/run/thin-*/socket every 
time. cron gives me a granularity of 1 minute which still makes the 
application unreachable for up-to one looooong minute.

The authors don't care because it works fine when daemonizing... and 
"one shall daemonize the daemons"... no comment on that.

Is there an elegant way of solving this issue with runit?

Thanks,
Alejandro Mery

[1] <http://code.macournoyer.com/thin/>


             reply	other threads:[~2010-11-05 11:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-05 11:36 Alejandro Mery [this message]
2010-11-05 12:11 ` Charlie Brady
2010-11-05 12:15   ` Charlie Brady
2010-11-05 13:11   ` Alejandro Mery
2010-11-05 13:19     ` Charlie Brady
2010-11-06 12:25 ` Laurent Bercot

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=4CD3EC3D.7070008@opensde.org \
    --to=amery@opensde.org \
    --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).