hasufell    14/05/22 13:16:22

  Added:                hiawatha.initd
  Log:
  initial import wrt #65259
  
  (Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --ignore-arches, 
signed Manifest commit with key BDEED020)

Revision  Changes    Path
1.1                  www-servers/hiawatha/files/hiawatha.initd

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/hiawatha/files/hiawatha.initd?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/hiawatha/files/hiawatha.initd?rev=1.1&content-type=text/plain

Index: hiawatha.initd
===================================================================
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/hiawatha/files/hiawatha.initd,v 
1.1 2014/05/22 13:16:22 hasufell Exp $

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 $?
}




Reply via email to