supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Gerrit Pape <pape@smarden.org>
Subject: Re: supervised processes controlled by non-root user?
Date: Thu, 15 Sep 2005 09:42:02 +0000	[thread overview]
Message-ID: <20050915093717.4944.qmail@0d59b37f3e46bc.315fe32.mid.smarden.org> (raw)
In-Reply-To: <4329310A.8060002@robinbowes.com>

On Thu, Sep 15, 2005 at 09:30:02AM +0100, Robin Bowes wrote:
> Is it possible to set up services that can be controlled by non-root 
> users? If so, how?
> 
> (using daemontools 0.76)

Add (e.g.)

 chown <user> ./supervise ./supervise/ok ./supervise/control ./supervise/status

to the top of the ./run script.  Now <user> can use svc to control the
service, and svstat query status informations.

Or, if the complete service should be owned by the user, see
 http://article.gmane.org/gmane.comp.sysutils.supervision.general/795
 
Regards, Gerrit.


  reply	other threads:[~2005-09-15  9:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15  8:30 Robin Bowes
2005-09-15  9:42 ` Gerrit Pape [this message]
2005-09-15 11:44   ` Robin Bowes
2005-09-15 12:05     ` Thomas Schwinge
2005-09-15 12:17       ` Robin Bowes
2005-10-26 10:12 ` tkooda-list-skarnet.org-supervision-dated-60128960.bmlhi
2005-10-30 12:43   ` Robin Bowes

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=20050915093717.4944.qmail@0d59b37f3e46bc.315fe32.mid.smarden.org \
    --to=pape@smarden.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).