From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2049 Path: news.gmane.org!not-for-mail From: Jameson Rollins Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: installing runit as a user... Date: Thu, 21 Oct 2010 18:27:09 -0400 Message-ID: <87r5fj9o76.fsf@servo.finestructure.net> References: <20101021211636.GC5055@bonnie.galis.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1287700048 32511 80.91.229.12 (21 Oct 2010 22:27:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Oct 2010 22:27:28 +0000 (UTC) To: George Georgalis , Gerrit Pape , supervision@list.skarnet.org Original-X-From: supervision-return-2283-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Oct 22 00:27:26 2010 Return-path: Envelope-to: gcsg-supervision@lo.gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1P93bV-0006hN-DM for gcsg-supervision@lo.gmane.org; Fri, 22 Oct 2010 00:27:21 +0200 Original-Received: (qmail 32513 invoked by uid 76); 21 Oct 2010 22:29:29 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 32505 invoked from network); 21 Oct 2010 22:29:29 -0000 In-Reply-To: <20101021211636.GC5055@bonnie.galis.org> User-Agent: Notmuch/0.3.1-71-g426c96f (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 128.59.29.7 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2049 Archived-At: On Thu, 21 Oct 2010 14:16:36 -0700, George Georgalis 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. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJMwL4+AAoJEO00zqvie6q8RewP/1xqRYiISaPxqKvh0bDJEHoy wwHEOUmPgnH1m/JaYFrqMfU0Q3IOhkOIgh7xUK1khWgIR5Q3VgYMjP6axMx5hkS4 rBIaq4O/gjF9sCjm/W7G6HCKAhJFLJ92dMEk/N8smoeigwfXXPd9lemg9Jc5MDhN BpM5u8//RQ4GIrHJTzC9itZ4/OeSfDfiglI6BLNphErEpptRO1ih8rgJznS8I0cU Axkmi3TV07MQskH2hzLCc6qRA4E9C2248InnCDarhPR30IlWwpHYfEv5JLIQwmkV 2JIm0XpKsUItWz4juCrCAPttoL1oFrsTZiC0KZb3JN1RbC+g4Kw2Nvk53RBlR3L9 FIScY4H8vgsDvH/2Y1tUPjkRJCHr80Pv1SqKLsoGszI/MYNLJmSGcSF5zn6/oK5T xFLVBPG5WmluRQBCBCW8IEmGebMkhKJzR2m6Qcc8yL99l1KDLA7z88KykKvJXtXJ fDebMkzC4XDMOibaX+2AJ96lBZkOgl0JKhhBGffvjcQpS7LKTT8XyiheLdRAkfri vP8DA0ow7CmewjlKyLLBFEHM0Vjf9oPEwACpxtDPOjjZMHd/KHr7eNnRvMbGA4hA YdNi6LTuB7sCXQnShDe3zwOTyKZhHprysIgoAJg/mouw+MCXhyEstfNokols4E1u 12pMHn9o8p9vzP9ifkYz =PVWv -----END PGP SIGNATURE----- --=-=-=--