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:18:53 UTC