service api stop cp /home/ftpuser/ftp/files/api /root/api chmod 777 /root/api/api service api start