[LEDE-DEV] [PATCH] rsyslog: do not daemonize and allow procd to manage rsyslogd
John Crispin
john at phrozen.org
Mon Oct 17 23:16:36 PDT 2016
On 18/10/2016 03:15, Alexis Green wrote:
> This allows user to stop and/or restart the daemon. Currently, running
> "/etc/init.d/rsyslogd stop" does not stop the daemon once it's started.
>
> Signed-off-by: Alexis Green <alexis at cessp.it>
> ---
> net/rsyslog/files/rsyslog.init | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/rsyslog/files/rsyslog.init b/net/rsyslog/files/rsyslog.init
> index 5fc8849..20eb2a4 100644
> --- a/net/rsyslog/files/rsyslog.init
> +++ b/net/rsyslog/files/rsyslog.init
> @@ -7,6 +7,6 @@ USE_PROCD=1
>
> start_service() {
> procd_open_instance
> - procd_set_param command /usr/sbin/rsyslogd
> + procd_set_param command /usr/sbin/rsyslogd -n
> procd_close_instance
> }
>
please post patches for packages in the feed via the github feed.
--> https://github.com/openwrt/packages
John
More information about the Lede-dev
mailing list