在使用以下命令时发现不生效...
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
于是找了半天发现官方在github上有做过说明,原文https://github.com/rsyslog/rsyslog/commit/6fafe7c9965449e270fcd4d87eeda4689f0df1d6
替换方案
systemctl kill -s HUP rsyslog.service
Remember me to one who lives there
在使用以下命令时发现不生效...
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
于是找了半天发现官方在github上有做过说明,原文https://github.com/rsyslog/rsyslog/commit/6fafe7c9965449e270fcd4d87eeda4689f0df1d6
替换方案
systemctl kill -s HUP rsyslog.service