From: | "Fabian Groffen (grobian)" <grobian@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-admin/diamond/files: diamond.initd diamond.confd |
Date: | Sun, 01 Mar 2015 23:09:19 |
Message-Id: | 20150301230912.ACD7B12D60@oystercatcher.gentoo.org |
1 | grobian 15/03/01 23:09:12 |
2 | |
3 | Added: diamond.initd diamond.confd |
4 | Log: |
5 | Initial commit, ebuild by me, closes #484654 |
6 | |
7 | (Portage version: 2.2.14-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-admin/diamond/files/diamond.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/diamond/files/diamond.initd?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/diamond/files/diamond.initd?rev=1.1&content-type=text/plain |
14 | |
15 | Index: diamond.initd |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2015 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/app-admin/diamond/files/diamond.initd,v 1.1 2015/03/01 23:09:12 grobian Exp $ |
21 | |
22 | depend() { |
23 | need net |
24 | } |
25 | |
26 | start() { |
27 | ebegin "Starting ${SVCNAME}" |
28 | start-stop-daemon --start --exec /usr/bin/diamond --pidfile /run/${SVCNAME}.pid -- -c /etc/diamond/${SVCNAME}.conf ${DIAMOND_OPTS} |
29 | eend $? |
30 | } |
31 | |
32 | stop() { |
33 | ebegin "Stopping ${SVCNAME}" |
34 | start-stop-daemon --stop --pidfile /run/${SVCNAME}.pid --name diamond |
35 | eend $? |
36 | } |
37 | |
38 | |
39 | |
40 | 1.1 app-admin/diamond/files/diamond.confd |
41 | |
42 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/diamond/files/diamond.confd?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/diamond/files/diamond.confd?rev=1.1&content-type=text/plain |
44 | |
45 | Index: diamond.confd |
46 | =================================================================== |
47 | # command line options for running diamond |
48 | DIAMOND_OPTS= |