summaryrefslogtreecommitdiff
blob: 3aea40220153e45eb11573305916f34c30cbbbba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/files/famd,v 1.1 2003/12/07 23:19:54 foser Exp $

depend() {

	need portmap

}

start() {

	ebegin "Starting famd"
	start-stop-daemon --start --quiet --exec /usr/sbin/famd --background \
		-- -T 0 -c /etc/fam.conf
	eend $?

}

stop() {

	ebegin "Stopping famd"
	start-stop-daemon --stop --quiet --exec /usr/sbin/fam
	eend $?

}