diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-18 22:06:47 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-18 22:06:47 -0400 |
commit | 833eb9d680935bd27ccd49635226745ffef34609 (patch) | |
tree | 42149c343f1e52245e65f99488e61f9a5f5c31a8 /usr/local/www/diag_logs.php | |
parent | 9dac9942c2978995e4721f2024b88b7ea9abb65a (diff) | |
download | pfsense-833eb9d680935bd27ccd49635226745ffef34609.zip pfsense-833eb9d680935bd27ccd49635226745ffef34609.tar.gz |
Do not restart syslkog, just hup it
Diffstat (limited to 'usr/local/www/diag_logs.php')
-rwxr-xr-x | usr/local/www/diag_logs.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/usr/local/www/diag_logs.php b/usr/local/www/diag_logs.php index 47481b0..f3a1839 100755 --- a/usr/local/www/diag_logs.php +++ b/usr/local/www/diag_logs.php @@ -53,14 +53,15 @@ if ($_POST['clear']) { touch($syslog_logfile); system_syslogd_start(); } else { - exec("killall syslogd"); - sleep(1); - if(file_exists("{$system_logfile}")) - unlink("{$system_logfile}"); +// exec("killall syslogd"); +// sleep(1); +// if(file_exists("{$system_logfile}")) +// unlink("{$system_logfile}"); exec("/usr/sbin/fifolog_create -s 511488 {$system_logfile}"); - system_syslogd_start(); + exec("/usr/bin/killall -HUP syslogd"); +// system_syslogd_start(); +// Header("Location: diag_logs.php"); } - } if ($_GET['filtertext']) |