pid files fixes, ftp server already-running-but-no-control check
This commit is contained in:
@@ -45,7 +45,7 @@ listen(Server,SOMAXCONN) || die "listen: $!";
|
||||
|
||||
#print "FTP server started on port $port\n";
|
||||
|
||||
open(PID, ">.ftpserver.pid");
|
||||
open(PID, ">.ftp.pid");
|
||||
print PID $$;
|
||||
close(PID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user