diff options
Diffstat (limited to 'sys-fs/owfs/files/owftpd.initd')
-rwxr-xr-x | sys-fs/owfs/files/owftpd.initd | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys-fs/owfs/files/owftpd.initd b/sys-fs/owfs/files/owftpd.initd index 30c70eb8a3b6..664f5351f557 100755 --- a/sys-fs/owfs/files/owftpd.initd +++ b/sys-fs/owfs/files/owftpd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-fs/owfs/files/owftpd.initd,v 1.1 2007/12/15 16:10:07 wschlich Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/owfs/files/owftpd.initd,v 1.2 2007/12/17 17:26:35 wschlich Exp $ INSTANCE=${SVCNAME#*.} PROGRAM=${SVCNAME%%.*} @@ -10,23 +10,23 @@ OWUID=${OWUID:-owfs} OWGID=${OWGID:-owfs} depend() { - need net - use logger owserver + need net + use logger owserver } start() { - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --exec /usr/bin/${PROGRAM} \ + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --exec /usr/bin/${PROGRAM} \ --pidfile ${PIDFILE} -c ${OWUID}:${OWGID} -- \ --pid_file ${PIDFILE} \ --background --error_print 1 \ ${OWFTPD_OPTS:---nozero -p 127.0.0.1:9321 -s 127.0.0.1:9300 --max_clients 5 --timeout_ftp 600} - eend $? + eend $? } stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --exec /usr/bin/${PROGRAM} \ + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --exec /usr/bin/${PROGRAM} \ --pidfile ${PIDFILE} -u ${OWUID} - eend $? + eend $? } |