diff options
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 52b623877..8736c79ac 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 $? } |