Re: user-specific services not working as documented?

From: Avery Payne <avery.p.payne_at_gmail.com>
Date: Wed, 15 Oct 2014 14:42:21 -0700

True, that works. I was just trying to give the example that hooked into
the system's management, but what you have there works all the same :)

On Wed, Oct 15, 2014 at 2:18 PM, Alex Efros <powerman_at_powerman.name> wrote:

> Hi!
>
> On Wed, Oct 15, 2014 at 01:09:14PM -0700, Avery Payne wrote:
> > 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,
>
> Or, if Bob refuses to do this, Alice can setup everything herself by
> adding this to she's crontab:
>
> */1 * * * * exec chpst -L ~/service/.lock runsvdir ~/service/
> &>/dev/null &
>
> This add dependency on cron (which is usually available) and small (up to
> 1 minute) delay before Alice's services will be started after OS reboot,
> but doesn't need neither root privileges nor system-wide installed runit,
> so you can use this even on most shared hostings (where you able to either
> compile runit in home directory or upload runit binaries).
>
> --
> WBR, Alex.
>
Received on Wed Oct 15 2014 - 21:42:21 UTC

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