blob: 367d548205e0a7992635ac0741a7632252beb8e1 (
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$
command="/usr/bin/irkerd"
command_args="${IRKERD_OPTS}"
pidfile="/var/run/${SVCNAME}.pid"
depend() {
use net
}
start () {
ebegin "Starting irkerd"
start-stop-daemon --start --quiet --exec $command
eend $?
}
stop() {
ebegin "Stopping irkerd"
start-stop-daemon --stop --quiet --exec $command
eend $?
}
|