summaryrefslogtreecommitdiff
path: root/sys-apps/dudki/files/dudki.init
Side-by-side diff
Diffstat (limited to 'sys-apps/dudki/files/dudki.init') (more/less context) (ignore whitespace changes)
-rw-r--r--sys-apps/dudki/files/dudki.init20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys-apps/dudki/files/dudki.init b/sys-apps/dudki/files/dudki.init
new file mode 100644
index 0000000..2876964
--- a/dev/null
+++ b/sys-apps/dudki/files/dudki.init
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ use clock logger
+}
+
+start() {
+ ebegin "Starting dudki!"
+ dudki >/dev/null 2>&1
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping dudki!"
+ dudki -k
+ eend $?
+}