summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-04-13 18:16:33 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-04-13 18:16:33 +0000
commit2f6ed2e37fa73b6064a4df9416f919316b1e6cb5 (patch)
treed19025e303c91033e3db0e0692fcc7409e67855d /media-libs/nas/files
parentmailer.conf fixo (Manifest recommit) (diff)
downloadgentoo-2-2f6ed2e37fa73b6064a4df9416f919316b1e6cb5.tar.gz
gentoo-2-2f6ed2e37fa73b6064a4df9416f919316b1e6cb5.tar.bz2
gentoo-2-2f6ed2e37fa73b6064a4df9416f919316b1e6cb5.zip
Fix nas init.d file to work with 1.5
Diffstat (limited to 'media-libs/nas/files')
-rw-r--r--media-libs/nas/files/nas.init.d7
1 files changed, 4 insertions, 3 deletions
diff --git a/media-libs/nas/files/nas.init.d b/media-libs/nas/files/nas.init.d
index 4ad30c4add07..5393cd07ba7d 100644
--- a/media-libs/nas/files/nas.init.d
+++ b/media-libs/nas/files/nas.init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/files/nas.init.d,v 1.1 2004/03/26 17:04:51 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/files/nas.init.d,v 1.2 2004/04/13 18:16:33 eradicator Exp $
depend() {
need net
@@ -10,12 +10,13 @@ depend() {
start() {
ebegin "Starting nas"
- start-stop-daemon --start --quiet --exec /usr/X11R6/bin/nasd -- -b $NAS_OPTIONS
+ start-stop-daemon --start --quiet --exec /usr/X11R6/bin/nasd --background \
+ --pidfile /var/run/nasd.pid --make-pidfile -- $NAS_OPTIONS
eend $?
}
stop() {
ebegin "Stopping nas"
- start-stop-daemon --stop --quiet --exec /usr/X11R6/bin/nasd
+ start-stop-daemon --stop --quiet --pidfile /var/run/nasd.pid
eend $?
}