supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Jameson Rollins <jrollins@finestructure.net>
To: George Georgalis <george@galis.org>,
	Gerrit Pape <pape@smarden.org>,
	supervision@list.skarnet.org
Subject: Re: installing runit as a user...
Date: Thu, 21 Oct 2010 18:27:09 -0400	[thread overview]
Message-ID: <87r5fj9o76.fsf@servo.finestructure.net> (raw)
In-Reply-To: <20101021211636.GC5055@bonnie.galis.org>

[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]

On Thu, 21 Oct 2010 14:16:36 -0700, George Georgalis <george@galis.org> wrote:
> I'd like to use runit and svlogd as a user in a couple
> applications (eg x11 sessions and desktop widgets) and I was
> wondering what experiences people have had with this?

Hi, George.  I have much experience running runit as a user.  On systems
where I don't have administrative access, I typically use cron to start
runsvdir on boot (as well as checking that it continues to run).

I have also been experimenting with "user runsvdir" instances that are
controlled by the system runsvdir instance.  If the user has a ~/.sv
directory, the user runsvdir process manages run dirs in that directory.
It works very well, and I use it control a lot of user daemons that I
run, including pulseaudio, mpd, urxvtd, offlineimap, msva, etc.  If I
ever get the time, I hope to turn this into a package that would allow
admins to easily offer runsvdir service to their users.

I'd be happy to answer any specific questions you have.

> It looks like both socklog and runit require a package/upgrade
> rewrite since they don't accept any configuration, but that should
> be straightforward.

I'm not sure what you mean by this.  I'm also not sure why socklog would
be relevant if you're interested in running runit as a normal user.
socklog is a syslogd replacement, and at least requires being root to
start, unless there's something I don't understand.

jamie.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2010-10-21 22:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 21:16 George Georgalis
2010-10-21 22:27 ` Jameson Rollins [this message]
2010-10-21 23:46   ` George Georgalis
2010-10-22  0:20     ` Joan Picanyol i Puig
2010-10-22 22:07     ` Jameson Rollins
2010-10-21 22:39 ` Charlie Brady
2010-10-21 23:30   ` George Georgalis
2010-10-22 22:10     ` Jameson Rollins

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=87r5fj9o76.fsf@servo.finestructure.net \
    --to=jrollins@finestructure.net \
    --cc=george@galis.org \
    --cc=pape@smarden.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).