diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-01-01 07:18:21 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-01-01 07:18:33 +0000 |
commit | b1d24afbf60529e9b4ea13fd1f329b8351192eb7 (patch) | |
tree | 31c54af85c5bbccf274aa90f00f8adb24d808559 /main/vsftpd/vsftpd.initd | |
parent | fa8c5cfd27b0b4a5f1a9cd750e36c59c73546229 (diff) | |
download | aports-b1d24afbf60529e9b4ea13fd1f329b8351192eb7.tar.bz2 aports-b1d24afbf60529e9b4ea13fd1f329b8351192eb7.tar.xz |
main/vsftpd: support multiple instances
Diffstat (limited to 'main/vsftpd/vsftpd.initd')
-rw-r--r-- | main/vsftpd/vsftpd.initd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/vsftpd/vsftpd.initd b/main/vsftpd/vsftpd.initd index 52b6238779..8736c79acf 100644 --- a/main/vsftpd/vsftpd.initd +++ b/main/vsftpd/vsftpd.initd @@ -9,18 +9,18 @@ depend() { } start() { - ebegin "Starting ${NAME}" + ebegin "Starting ${SVCNAME}" start-stop-daemon --start --quiet --background \ - --make-pidfile --pidfile /var/run/${NAME}.pid \ + --make-pidfile --pidfile /var/run/${SVCNAME}.pid \ --exec ${DAEMON} -- ${OPTS} eend $? } stop() { - ebegin "Stopping ${NAME}" + ebegin "Stopping ${SVCNAME}" start-stop-daemon --stop --quiet \ --exec ${DAEMON} \ - --pidfile /var/run/${NAME}.pid \ + --pidfile /var/run/${SVCNAME}.pid \ eend $? } |