summaryrefslogtreecommitdiff
blob: 28de144b48f6d1be641a2af71598c79db75957e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

opts="start stop restart"

depend() {
	need net
}

start() {
	ebegin "Starting tac_plus"
	start-stop-daemon --start --quiet --exec /usr/bin/tac_plus \
		-- -C /etc/tac_plus/tac_plus.conf ${TAC_PLUS_OPTS}
	eend $?
}

stop() {
	ebegin "Stopping tac_plus"
	start-stop-daemon --stop --quiet --pidfile /var/run/tac_plus.pid
	eend $?
}