summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-10-15 12:29:28 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-10-15 12:29:28 +0000
commit7f328a04c1c7f6512ee2cb41e3580f9f42f3f355 (patch)
treedb07dc7635f36b57cdaad92c9e9779803556d280 /app-admin/gkrellm/files/gkrellmd
parentNew version (diff)
downloadgentoo-2-7f328a04c1c7f6512ee2cb41e3580f9f42f3f355.tar.gz
gentoo-2-7f328a04c1c7f6512ee2cb41e3580f9f42f3f355.tar.bz2
gentoo-2-7f328a04c1c7f6512ee2cb41e3580f9f42f3f355.zip
version bump
Diffstat (limited to 'app-admin/gkrellm/files/gkrellmd')
-rw-r--r--app-admin/gkrellm/files/gkrellmd20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-admin/gkrellm/files/gkrellmd b/app-admin/gkrellm/files/gkrellmd
new file mode 100644
index 000000000000..b12f79e4eb60
--- /dev/null
+++ b/app-admin/gkrellm/files/gkrellmd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/files/gkrellmd,v 1.1 2002/10/15 12:29:28 seemant Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting GNU Krell Monitor daemon"
+ start-stop-daemon --start --quiet --background --pidfile /var/run/gkrellmd.pid --make-pidfile --exec /usr/bin/gkrellmd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping GNU Krell Monitor daemon"
+ start-stop-daemon --stop --quiet --pidfile /var/run/gkrellmd.pid --name gkrellmd
+ eend $?
+}