From: | "Julian Ospald (hasufell)" <hasufell@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-servers/hiawatha/files: hiawatha.initd |
Date: | Thu, 22 May 2014 13:16:25 |
Message-Id: | 20140522131622.4AC8A2004E@flycatcher.gentoo.org |
1 | hasufell 14/05/22 13:16:22 |
2 | |
3 | Added: hiawatha.initd |
4 | Log: |
5 | initial import wrt #65259 |
6 | |
7 | (Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --ignore-arches, signed Manifest commit with key BDEED020) |
8 | |
9 | Revision Changes Path |
10 | 1.1 www-servers/hiawatha/files/hiawatha.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/hiawatha/files/hiawatha.initd?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/hiawatha/files/hiawatha.initd?rev=1.1&content-type=text/plain |
14 | |
15 | Index: hiawatha.initd |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2014 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/www-servers/hiawatha/files/hiawatha.initd,v 1.1 2014/05/22 13:16:22 hasufell Exp $ |
21 | |
22 | depend() { |
23 | need net |
24 | } |
25 | |
26 | start() { |
27 | ebegin "Starting ${SVCNAME}" |
28 | start-stop-daemon \ |
29 | --start \ |
30 | --exec "/usr/sbin/hiawatha" \ |
31 | --pidfile "/var/run/hiawatha.pid" |
32 | eend $? |
33 | } |
34 | |
35 | stop() { |
36 | ebegin "Stopping ${SVCNAME}" |
37 | start-stop-daemon \ |
38 | --stop \ |
39 | --exec "/usr/sbin/hiawatha" \ |
40 | --pidfile "/var/run/hiawatha.pid" |
41 | eend $? |
42 | } |