Re: user-specific services not working as documented?

From: Avery Payne <>
Date: Wed, 15 Oct 2014 13:09:14 -0700

For runit, it's not what you want. You need to create a service entry for
the given user in the system's /etc/service. Example:

Alice would like to have foobar service controlled by her. She asks Bob to
set up a user-specific service so she can do so. Bob creates a directory,
/etc/services/runsvdir-alice, and places a run file in it. The run file
has the following:

 exec 2>&1
 exec chpst -ualice runsvdir /home/alice/service

Bob saves the /etc/services/runsvdir-alice/run file and then creates a
symlink /services/runsvdir-alice that points to /etc/services/runsvdir.
The existing system-level runsvdir then notices the new entry and launches
a runsvdir service with Alice's permissions, etc. That runsvdir is under
the control of Alice now; Alice can now define her own services in
/home/alice/service and they will be supervised by her version of the

On Wed, Oct 15, 2014 at 10:39 AM, Guy Matz <> wrote:

> Hi! On ubuntu 12.04 I'm following the doc here:
> The doc says I only need to link the user's service directory into
> /etc/service, however it seems that user-specific services don't work
> unless I also link the user's service directory into /etc/sv . . .
> Anyone know if this is correct behavior?
> Thanks,
> Guy
Received on Wed Oct 15 2014 - 20:09:14 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:18 UTC