summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/fam/files')
-rw-r--r--app-admin/fam/files/famd27
1 files changed, 27 insertions, 0 deletions
diff --git a/app-admin/fam/files/famd b/app-admin/fam/files/famd
new file mode 100644
index 000000000000..e32f0a364ad6
--- /dev/null
+++ b/app-admin/fam/files/famd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+
+ need portmap
+
+}
+
+start() {
+
+ ebegin "Starting famd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/famd \
+ -- -T 0 -c /etc/fam.conf
+ eend $?
+
+}
+
+stop() {
+
+ ebegin "Stopping famd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/famd
+ eend $?
+
+}