Project

General

Profile

Download (558 Bytes) Statistics
| Branch: | Tag: | Revision:
1
! echo "===> Beginning restartftphelper."
2
! echo "Killing ftp-proxy if started..."
3
= killall ftp-proxy
4
! echo "Killing pftpx if started..."
5
= killall pftpx
6
! echo "Killing ftpsesame if started..."
7
= killall ftpsesame
8
! echo "Running php function system_start_ftp_helpers()..."
9
system_start_ftp_helpers();
10
! echo "Checking if ftp-proxy is running..."
11
= ps awux | grep "ftp-proxy"
12
! echo "Checking if pftpx is running..."
13
= ps awux | grep "pftpx"
14
! echo "Checking if ftpsesame is running..."
15
= ps awux | grep "ftpsesame"
16
! echo "===> End of restartftphelper."
(5-5/6)