blob: f7f90a24ab1c8ff7b6081a7f718f56b7608d315c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/files/gkrellmd,v 1.7 2008/02/28 15:17:04 lack Exp $
depend() {
need net
after lm_sensors
after hddtemp
}
start() {
ebegin "Starting GNU Krell Monitor daemon"
start-stop-daemon --start --quiet --background --pidfile /var/run/gkrellmd.pid --make-pidfile --exec /usr/bin/gkrellmd ${GKRELLM_OPTS}
eend $?
}
stop() {
ebegin "Stopping GNU Krell Monitor daemon"
start-stop-daemon --stop --quiet --pidfile /var/run/gkrellmd.pid --name gkrellmd
eend $?
}
|