mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
13 lines
259 B
Perl
Executable File
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("");
|
|
|