[OpenWrt-Devel] Any interest in adding runit to OpenWRT?

Jo-Philipp Wich jo at mein.io
Sat Dec 3 08:25:03 EST 2016


Hi Denys,

> Well, we certainly can fix the ntpd start scritps,
> but this is a generic problem, right? We'd want ANY
> daemons to be run "properly", with their output logged.
> With log size and location controlled. With log rotation.
> Etc. etc etc.

Controlling log rotation, sizes etc. is the task of the syslog
implementation, not of the service supervisor imho.


The following init script parameters will cause the stdio messages to
get redirected to syslog:

procd_set_param stdout 1
procd_set_param stderr 1


~ Jo
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list