Re: Answers to some GitHub questions

2021-01-06 Thread Alex Efros via supervision
Hi! Thanks, this was useful reading. Is there a migration guide from runit to s6? If not, it might be useful to create one with hints how to rewrite /etc/runit/{1,3} and runit services in s6-way, what to run instead of /sbin/runit-init as kernel's init= param, and what to use instead of

Re: Log rotation issue with runit

2018-12-25 Thread Alex Efros
Hi! I'm not sure is it good idea to include .u files in usual rotation process at all, and especially handle them just like .s files. If several crashes happens for some reason in a short period of time this will result in deletion of all log files except last (say) 10 .u files, which are usually

Re: Log rotation issue with runit

2018-12-25 Thread Alex Efros
Hi! On Tue, Dec 25, 2018 at 01:39:17PM +, Dmitry Bogatov wrote: > Recently, I received bug report [^1] about stray .u logfiles. After > some investigation I found code, that caused issue, but it seems that it > was written with some purpose, yet I fail to understand that purpose. > > [^1]

Re: [announce] execline-2.5.0.0

2018-04-02 Thread Alex Efros
Hi! On Mon, Apr 02, 2018 at 12:06:05PM +, John O'Meara wrote: > While I initially didn't like the 2.4 name changes, perhaps I (and others) I believe 2.4 was just 1st April's joke. -- WBR, Alex.

Re: s6 as a systemd alternative

2017-06-28 Thread Alex Efros
Hi! On Wed, Jun 28, 2017 at 01:40:18PM -0400, Steve Litt wrote: > The truth of the preceding statement depends entirely on your > priorities. If you prioritize simplicity over software orthodoxy, built > in process ordering, and a maximally recoverable boot instance, you'll > prefer runit. That's

Re: A dumb question

2017-05-02 Thread Alex Efros
Hi! On Tue, May 02, 2017 at 07:16:24PM +0200, Francisco Gómez wrote: > Besides, if you could magically do perfect small > applications, that means you'd have to keep working with and on > millions of small tools, right? Wouldn't that just add up complexity!? It depends, but in general just

Re: A dumb question

2017-05-01 Thread Alex Efros
Hi! On Mon, May 01, 2017 at 11:11:25PM +0200, Francisco Gómez wrote: > "It's old software. Its last version is from 2014. If I have to > choose between a dynamic, bug-filled init like Systemd and a barely > maintained init like Runit, I'd rather use Systemd." > > That sounds bad,

Re: runit build in a container (Travis CI) failed

2017-02-22 Thread Alex Efros
Hi! On Wed, Feb 22, 2017 at 03:58:56PM +, Kevin Burke wrote: > Add sudo: required to your travis config file - see the doc near the top of > the build output for info With sudo Travis will use different build system (AFAIR - real VM, probably KVM/qemu, instead of LXC/docker containers). I'm

runit build in a container (Travis CI) failed

2017-02-22 Thread Alex Efros
Hi! Previously Travis doesn't allow to install runit using apt (they have custom whitelist of allowed packages), so I've used this snippet in .travis.yml to compile it manually: ``` cache: directories: - /home/travis/runit before_install: - if [ ! -x "$HOME/runit/runsv" ]; then mkdir -p

Re: supervising nginx

2015-05-02 Thread Alex Efros
Hi! On Thu, Jul 24, 2014 at 02:47:29AM +0300, Alex Efros wrote: Is it possible to run nginx under runsv supervision without breaking nginx's ability to upgrade (SIGUSR2) gracefully without interrupting current connections? Looks like this workaround may solve this issue, but I'm not sure

Re: Runit script for rsyslogd

2014-08-03 Thread Alex Efros
Hi! On Sun, Aug 03, 2014 at 11:37:56PM -0500, Joe M wrote: I am wondering if you have any script to log using logger (to syslog) from a runit service. I just want to try logging to syslog instead of using svlogd. I don't really understand your question. If you wanna write something to syslog

Re: Is runit not being maintained?

2014-07-23 Thread Alex Efros
Hi! On Wed, Jul 23, 2014 at 10:42:09AM -0500, Joe M wrote: This is how I use runit on gentoo now: https://github.com/joe9/portage/blob/master/sys-process/runit_on_openrc/runit_on_openrc-2.1.1.ebuild Why you've moved things to /run/ - isn't it should be tmpfs in current Gentoo? But, I am a

Re: Is runit not being maintained?

2014-07-23 Thread Alex Efros
Hi! On Wed, Jul 23, 2014 at 04:05:41PM -0500, Joe M wrote: On a slightly different note, how do you process the svlog logs? Do you have any related scripts that you do not mind sharing? I don't do any advanced log rotation/backup/timestamp format change - default features of svlogd are good

Re: initialization vs supervision

2014-07-23 Thread Alex Efros
Hi! On Thu, Jul 24, 2014 at 01:42:19AM +0100, Laurent Bercot wrote: Now granted some things are not able to be supervised such as udev on my end. But honestly, does udev really require supervision? Yes, it does - why wouldn't it ? Or, if it doesn't, why would any other service ? Any other