mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
12 lines
302 B
Perl
Executable File
12 lines
302 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# restart.cgi
|
|
# Kill all ftpd processes, and restart the FTP server with flags -l -a -S
|
|
|
|
require './wuftpd-lib.pl';
|
|
&ReadParse();
|
|
&kill_logged('TERM', $in{'pid'});
|
|
&system_logged("$config{'ftpd_path'} -l -a -S >/dev/null 2>&1 </dev/null");
|
|
&webmin_log("restart");
|
|
&redirect("");
|
|
|