From: Michael Pfeifroth Date: Fri, 29 May 2026 08:34:54 +0000 (+0200) Subject: rsyslog: track config files for procd restart X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=900251a607b782b912bf85cfd9ea68fd10b11efa;p=openwrt-packages.git rsyslog: track config files for procd restart Add 'procd_set_param file' for both the base config and the generated config file so procd detects config changes and restarts rsyslogd. Without this, procd_add_reload_trigger fires on config changes but procd does not restart the service because the command line is identical. This leaves stale configuration active until a manual restart. Signed-off-by: Michael Pfeifroth --- diff --git a/admin/rsyslog/files/rsyslog.init b/admin/rsyslog/files/rsyslog.init index 77a9fc705..f06617e45 100644 --- a/admin/rsyslog/files/rsyslog.init +++ b/admin/rsyslog/files/rsyslog.init @@ -104,6 +104,7 @@ start_service() { expand_config procd_open_instance procd_set_param command /usr/sbin/rsyslogd -f ${CONFIG_FILE} -n + procd_set_param file ${BASE_CONFIG_FILE} ${CONFIG_FILE} procd_close_instance }