apifiber/infra/newapi.sh

5 lines
100 B
Bash

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