diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-12-17 12:21:36 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-12-17 12:25:27 -0600 |
commit | 264d17a526a418b333bdf48530f365e495500711 (patch) | |
tree | 919233114ddb520f7acac6a57dd55a644a8c86da | |
parent | 56c8376a9eabdc59e8f71535c0f3cd871cd776f1 (diff) | |
download | pfsense-264d17a526a418b333bdf48530f365e495500711.zip pfsense-264d17a526a418b333bdf48530f365e495500711.tar.gz |
syslogd can't just be HUPed to pick up its new config, as many of those
are command line arguments. Go back to 2.1x and prior behavior of TERM and
restart. Fixes source IP use with syslog among other config changes.
-rw-r--r-- | etc/inc/system.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 3843508..7f6af33 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -887,9 +887,9 @@ EOD; } if (isvalidpid("{$g['varrun_path']}/syslog.pid")) - sigkillbypid("{$g['varrun_path']}/syslog.pid", "HUP"); - else - $retval = mwexec_bg("/usr/sbin/syslogd -s -c -c -l {$g['dhcpd_chroot_path']}/var/run/log -P {$g['varrun_path']}/syslog.pid {$syslogd_extra}"); + sigkillbypid("{$g['varrun_path']}/syslog.pid", "TERM"); + + $retval = mwexec_bg("/usr/sbin/syslogd -s -c -c -l {$g['dhcpd_chroot_path']}/var/run/log -P {$g['varrun_path']}/syslog.pid {$syslogd_extra}"); if (platform_booting()) echo gettext("done.") . "\n"; |