summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-03-24 08:31:02 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-03-24 08:31:02 +0000
commitfaac0269905cf143f96d78c1d7f75fc707807a23 (patch)
tree35909b9e33268ac442000b2ad277f0deb64c7cb7 /app-admin/fam-oss
parentman pages moved to /usr/share/man (diff)
downloadgentoo-2-faac0269905cf143f96d78c1d7f75fc707807a23.tar.gz
gentoo-2-faac0269905cf143f96d78c1d7f75fc707807a23.tar.bz2
gentoo-2-faac0269905cf143f96d78c1d7f75fc707807a23.zip
rc-script fixes
Diffstat (limited to 'app-admin/fam-oss')
-rw-r--r--app-admin/fam-oss/ChangeLog6
-rw-r--r--app-admin/fam-oss/files/fam8
2 files changed, 9 insertions, 5 deletions
diff --git a/app-admin/fam-oss/ChangeLog b/app-admin/fam-oss/ChangeLog
index 1e2b964a9053..492d80c289da 100644
--- a/app-admin/fam-oss/ChangeLog
+++ b/app-admin/fam-oss/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/fam-oss
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-admin/fam-oss/ChangeLog,v 1.2 2002/03/21 06:56:54 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/fam-oss/ChangeLog,v 1.3 2002/03/24 08:31:02 azarah Exp $
+
+ 24 Mar 2002; M.Schlemmer <azarah@gentoo.org> :
+
+ Update rc-script to properly put fam to the background.
*fam-oss-2.6.7 (16 Mar 2002)
diff --git a/app-admin/fam-oss/files/fam b/app-admin/fam-oss/files/fam
index 5690ded146ac..c8eb62fc86d4 100644
--- a/app-admin/fam-oss/files/fam
+++ b/app-admin/fam-oss/files/fam
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/app-admin/fam-oss/files/fam,v 1.2 2001/12/06 20:17:01 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/fam-oss/files/fam,v 1.3 2002/03/24 08:31:02 azarah Exp $
depend() {
need portmap
@@ -10,9 +10,8 @@ depend() {
start() {
ebegin "Starting fam"
- #for some reason dont want to daemonize without the '&'
- start-stop-daemon --start --quiet --exec /usr/bin/fam \
- -- -T 0 -c /etc/fam.conf &
+ start-stop-daemon --start --quiet --exec /usr/bin/fam --background \
+ -- -T 0 -c /etc/fam.conf
eend $?
}
@@ -21,3 +20,4 @@ stop() {
start-stop-daemon --stop --quiet --exec /usr/bin/fam
eend $?
}
+