summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions/restartftphelper
blob: 61c88033f5d068a316412511171e26ad80b238f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
! echo "===> Beginning restartftphelper."
! echo "Killing ftp-proxy if started..."
= killall ftp-proxy
! echo "Killing pftpx if started..."
= killall pftpx
! echo "Killing ftpsesame if started..."
= killall ftpsesame
! echo "Running php function system_start_ftp_helpers()..."
system_start_ftp_helpers();
! echo "Checking if ftp-proxy is running..."
= ps awux | grep "ftp-proxy"
! echo "Checking if pftpx is running..."
= ps awux | grep "pftpx"
! echo "Checking if ftpsesame is running..."
= ps awux | grep "ftpsesame"
! echo "===> End of restartftphelper."
OpenPOWER on IntegriCloud