From: Gerrit Pape <pape@smarden.org>
Subject: Re: non-root runit
Date: Sun, 15 May 2005 10:54:17 +0000 [thread overview]
Message-ID: <20050515105419.16862.qmail@6b7dbee42e362d.315fe32.mid.smarden.org> (raw)
In-Reply-To: <428229F2.6010302@athenacr.com>
On Wed, May 11, 2005 at 11:51:14AM -0400, Wes Chow wrote:
> We're looking into the possibility of messing with runit to allow
> non-root users to start and stop their own services. I believe this
> might be as easy as running an instance of runsvdir (one per user) from
> within runit. Does anybody have experience doing something like this?
That's how I do it. For each user that should have personal service
supervision, I create a service like this
$ cat /var/service/sv-pape/run
#!/bin/sh
exec 2>&1
exec chpst -m5000000 -upape runsvdir ~pape/service
$
and a log service.
Regards, Gerrit.
prev parent reply other threads:[~2005-05-15 10:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-11 15:51 Wes Chow
[not found] ` <Pine.LNX.4.61.0505111225560.7520@e-smith.charlieb.ott.istop.com>
2005-05-11 17:11 ` Wes Chow
2005-05-11 17:55 ` Alex Efros
2005-05-15 10:54 ` Gerrit Pape [this message]
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=20050515105419.16862.qmail@6b7dbee42e362d.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).