Re: runit-scripts gone, supervision-scripts progress

2015-01-03 Thread Laurent Bercot
Hi James, I have had a though, why not include symlinkable functionality for halt, poweroff, shutdown, and reboot directly in s6-svscanctl s6-svscan can be used as a normal process, not only as process 1, and there can be more than one scan directory on the system. Calling s6-svscanctl

Re: runit-scripts gone, supervision-scripts progress

2015-01-03 Thread Laurent Bercot
On 03/01/2015 01:13, Avery Payne wrote: I'm thinking spawn to background and exit just after that. That solves the problem I mentioned, but creates other ones. If ./finish is about cleanup, and you background it, then ./run may start again before the cleanup has completed, so there will be

RE: runit-scripts gone, supervision-scripts progress

2015-01-02 Thread James Powell
. Thanks, Jim Sent from my Windows Phone From: Laurent Bercotmailto:ska-supervis...@skarnet.org Sent: ‎1/‎2/‎2015 4:59 AM To: supervision@list.skarnet.orgmailto:supervision@list.skarnet.org Subject: Re: runit-scripts gone, supervision-scripts progress Hi Avery

Re: runit-scripts gone, supervision-scripts progress

2015-01-02 Thread Avery Payne
On Fri, Jan 2, 2015 at 3:42 PM, James Powell james4...@hotmail.com wrote: Anyways, I'll be posting more frequently about getting init-stage-1/2/3 drafted correctly and in execline script language. Avery maybe you can share your notes as well on this with me, if possible. I'll provide what

Re: runit-scripts gone, supervision-scripts progress

2015-01-02 Thread Avery Payne
One way or the other, ./finish should only be used scarcely, for clean-up duties that absolutely need to happen when the long-lived process has died: removing stale or temporary files, for instance. Those should be brief operations and absolutely cannot block. I'm thinking spawn to