aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hiawatha/hiawatha.initd
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2013-05-12 16:04:03 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-05-12 16:04:03 +0200
commit4bdb5fec6cfda10b887fbe051fe8b6b1d15c0d94 (patch)
tree1a5a43153939c9f26176875e86edaecb11a0b422 /testing/hiawatha/hiawatha.initd
parent043cc5f234f5ca907436031e5dabb869bac01bea (diff)
downloadaports-4bdb5fec6cfda10b887fbe051fe8b6b1d15c0d94.tar.bz2
aports-4bdb5fec6cfda10b887fbe051fe8b6b1d15c0d94.tar.xz
testing/hiawatha: new aport
Diffstat (limited to 'testing/hiawatha/hiawatha.initd')
-rw-r--r--testing/hiawatha/hiawatha.initd22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/hiawatha/hiawatha.initd b/testing/hiawatha/hiawatha.initd
new file mode 100644
index 0000000000..9c04296a37
--- /dev/null
+++ b/testing/hiawatha/hiawatha.initd
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --exec "/usr/sbin/hiawatha" \
+ --pidfile "/var/run/hiawatha.pid"
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --exec "/usr/sbin/hiawatha" \
+ --pidfile "/var/run/hiawatha.pid"
+ eend $?
+}