blob: 22751e48ab26e322692c14e41e60d789c16b076d (
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
# $Header: /var/cvsroot/gentoo-x86/app-crypt/shishi/files/shishid.init,v 1.1 2012/03/15 15:01:21 eras Exp $
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"
}
|