blob: ae5f9434d3ad3c57e50a8088bcfe9de4655968b8 (
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
|
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
daemon="Shishi KDC"
exec="/usr/sbin/shishid"
pid_file="/var/run/shishid.pid"
depend() {
need net
}
start() {
ebegin "Starting ${daemon}"
start-stop-daemon --start --quiet --background -m --pidfile ${pid_file} \
--exec ${exec} -- ${OPTIONS} 1>&2
eend $? "Error starting $daemon"
}
stop() {
ebegin "Stopping $daemon"
start-stop-daemon --stop --quiet --pidfile ${pid_file} --exec ${exec} 1>&2
eend $? "Error stopping $daemon"
}
|