Re: svlogd sub-directory log rotation?

2016-05-11 Thread Jameson Graef Rollins
On Tue, May 10 2016, Colin Booth wrote: > On Tue, May 10, 2016 at 2:39 PM, Jameson Graef Rollins > wrote: >> Hi, folks. I'm wondering if anyone knows if it's possible to somehow >> coax svlogd to rotate logs into sub-directories. So for instance, I >> would

svlogd sub-directory log rotation?

2016-05-10 Thread Jameson Graef Rollins
Hi, folks. I'm wondering if anyone knows if it's possible to somehow coax svlogd to rotate logs into sub-directories. So for instance, I would like to have a log file that would be named: @4000573253570e496304.s to instead be rotated to: @400057325357/@4000573253570e496304.s (

Re: staggering runsv startup

2015-06-04 Thread Jameson Graef Rollins
On Thu, Jun 04 2015, Steve Litt wrote: > In the 1 script, put "down" files in every directory under /service > except one called "order". Then, the order process is called, and it > erases the down file from one at a time, sleeping 1 second after each. > When all of them have been "undowned", have

Re: staggering runsv startup

2015-06-04 Thread Jameson Graef Rollins
On Thu, Jun 04 2015, Lucy Pseudonym wrote: > You can create `down` files in the service dirs as described in [1] > and enable the services from a script at boot time. Hi, Lucy. That's an interesting suggestion. It would require building out more/other infrastructure, though, which is something

staggering runsv startup

2015-06-04 Thread Jameson Graef Rollins
Hi, all. I am using runit to supervise a large set of nearly identical processes. Each process accesses certain IO-bound shared resources (e.g. NFS mount) at startup. At system initialization, when runsvdir is launched, it launches all these processes (via runsv) essentially simultaneously. Thi

Re: runit source control?

2015-02-09 Thread Jameson Graef Rollins
On Mon, Feb 09 2015, Buck Evan wrote: > Is there truly no public access to the source control for runit? > > If so, it's decidedly odd. I agree it's a bit odd. Or at least it would be useful for it to be available. jamie. signature.asc Description: PGP signature

Re: Fwd: Using runit-init on debian/Jessie in place of sysvinit/systemd

2015-01-01 Thread Jameson Graef Rollins
On Thu, Jan 01 2015, toki clover wrote: > First, it's a bit crazy to use runit for init+service management > entirely because: I use runit-init as init (process 1) on several machines (albeit very stripped down ones). It's not that crazy, and is well supported in Debian (at least last I checked)

Re: variables in the run script

2013-10-08 Thread Jameson Graef Rollins
On Tue, Oct 08 2013, Subba Rao wrote: > On 10/8/13 8:38 PM, Jameson Graef Rollins wrote: >> On Tue, Oct 08 2013, Subba Rao wrote: >>> I have a run script that has an infinite loop performing some cleanup >>> functions, system monitoring functions etc. Once the task

Re: variables in the run script

2013-10-08 Thread Jameson Graef Rollins
On Tue, Oct 08 2013, Subba Rao wrote: > I have a run script that has an infinite loop performing some cleanup > functions, system monitoring functions etc. Once the tasks in one loop > cycle are completed, I want the loop in "run" script to sleep for some > random #hours before starting a new