diff options
-rw-r--r-- | etc/phpshellsessions/restartftphelper | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/phpshellsessions/restartftphelper b/etc/phpshellsessions/restartftphelper index 5b539fa..43479c9 100644 --- a/etc/phpshellsessions/restartftphelper +++ b/etc/phpshellsessions/restartftphelper @@ -1,15 +1,24 @@ +! echo "" ! echo "Killing ftp-proxy if started..." = killall ftp-proxy +! echo "" ! echo "Killing pftpx if started..." = killall pftpx +! echo "" ! echo "Killing ftpsesame if started..." = killall ftpsesame +! echo "" ! echo "Running php function system_start_ftp_helpers()..." system_start_ftp_helpers(); +! echo "" ! echo "Checking if ftp-proxy is running..." = ps awux | grep "ftp-proxy" +! echo "" ! echo "Checking if pftpx is running..." = ps awux | grep "pftpx" +! echo "" ! echo "Checking if ftpsesame is running..." = ps awux | grep "ftpsesame" +! echo "" ! echo "Done." +! echo ""
\ No newline at end of file |