Update ftp server to save pid into a file