Files
webmin/syslog/restart.cgi
2007-04-12 20:24:50 +00:00

13 lines
259 B
Perl
Executable File

#!/usr/local/bin/perl
# restart.cgi
# Kill and restart the syslog process
require './syslog-lib.pl';
&ReadParse();
$access{'noedit'} && &error($text{'restart_ecannot'});
$err = &restart_syslog();
&error($err) if ($err);
&webmin_log("apply");
&redirect("");