Handle hostnames with upper-case letters
[webmin.git] / wuftpd / restart.cgi
1 #!/usr/local/bin/perl
2 # restart.cgi
3 # Kill all ftpd processes, and restart the FTP server with flags -l -a -S
4
5 require './wuftpd-lib.pl';
6 &ReadParse();
7 &kill_logged('TERM', $in{'pid'});
8 &system_logged("$config{'ftpd_path'} -l -a -S >/dev/null 2>&1 </dev/null");
9 &webmin_log("restart");
10 &redirect("");
11