From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/792 Path: news.gmane.org!not-for-mail From: Alex Efros Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: non-root runit Date: Wed, 11 May 2005 20:55:43 +0300 Organization: asdfGroup Inc., http://www.asdfGroup.com/ Message-ID: <20050511175543.GA16493@home.power> References: <428229F2.6010302@athenacr.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115833743 9928 80.91.229.2 (11 May 2005 17:49:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 May 2005 17:49:03 +0000 (UTC) Original-X-From: supervision-return-1028-gcsg-supervision=m.gmane.org@list.skarnet.org Wed May 11 19:49:01 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1DVvJX-0001Q7-UV for gcsg-supervision@gmane.org; Wed, 11 May 2005 19:48:08 +0200 Original-Received: (qmail 16434 invoked by uid 76); 11 May 2005 17:56:08 -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 16428 invoked from network); 11 May 2005 17:56:07 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <428229F2.6010302@athenacr.com> User-Agent: Mutt/1.5.8i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:792 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:792 Hi! 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? I use this, even without root permissions - from user's cron: */1 * * * * ( cd MY_DIR_HERE && exec chpst -L .lock.service runsvdir service/ &>/dev/null ) & -- WBR, Alex.