diff options
Diffstat (limited to 'testing/hiawatha/hiawatha.initd')
-rw-r--r-- | testing/hiawatha/hiawatha.initd | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/testing/hiawatha/hiawatha.initd b/testing/hiawatha/hiawatha.initd index 9c04296a37..d2a7bb3c61 100644 --- a/testing/hiawatha/hiawatha.initd +++ b/testing/hiawatha/hiawatha.initd @@ -1,22 +1,8 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ +#!/sbin/openrc-run -depend() { - need net -} +pidfile=/var/run/hiawatha.pid +command=/usr/sbin/hiawatha -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 $? +depend() { + need firewall } |