From: | "Tiziano Mueller (dev-zero)" <dev-zero@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/libinfinity/files: infinoted.initd-0.2 infinoted.confd-0.2 |
Date: | Wed, 08 Apr 2009 19:54:29 |
Message-Id: | E1Lrdqu-0005TB-0V@stork.gentoo.org |
1 | dev-zero 09/04/08 19:54:28 |
2 | |
3 | Added: infinoted.initd-0.2 infinoted.confd-0.2 |
4 | Log: |
5 | Initial commit (ebuild written by me) for new version of gobby. |
6 | (Portage version: 2.1.6.11/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-libs/libinfinity/files/infinoted.initd-0.2 |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libinfinity/files/infinoted.initd-0.2?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libinfinity/files/infinoted.initd-0.2?rev=1.1&content-type=text/plain |
13 | |
14 | Index: infinoted.initd-0.2 |
15 | =================================================================== |
16 | #!/sbin/runscript |
17 | # Copyright 1999-2009 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/net-libs/libinfinity/files/infinoted.initd-0.2,v 1.1 2009/04/08 19:54:27 dev-zero Exp $ |
20 | |
21 | |
22 | depend() { |
23 | need net |
24 | } |
25 | |
26 | start() { |
27 | ebegin "Starting infinoted" |
28 | start-stop-daemon \ |
29 | --start --quiet --background --make-pidfile \ |
30 | --pidfile /var/run/infinoted.pid \ |
31 | --exec /usr/bin/infinoted \ |
32 | --user ${USER} --group ${GROUP} --umask 007 \ |
33 | -- ${OPTIONS} |
34 | eend $? |
35 | } |
36 | |
37 | stop() { |
38 | ebegin "Stopping infinoted" |
39 | start-stop-daemon \ |
40 | --stop --quiet \ |
41 | --pidfile /var/run/infinoted.pid |
42 | eend $? |
43 | } |
44 | |
45 | |
46 | |
47 | 1.1 net-libs/libinfinity/files/infinoted.confd-0.2 |
48 | |
49 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libinfinity/files/infinoted.confd-0.2?rev=1.1&view=markup |
50 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libinfinity/files/infinoted.confd-0.2?rev=1.1&content-type=text/plain |
51 | |
52 | Index: infinoted.confd-0.2 |
53 | =================================================================== |
54 | # Config file for /etc/init.d/infinoted for Gentoo Linux |
55 | |
56 | USER="infinote" |
57 | GROUP="infinote" |
58 | UMASK="007" |
59 | |
60 | PIDFILE="/var/run/infinoted.pid" |
61 | |
62 | # Please read `infinoted --help` for other options. |
63 | # This is a fast setup for local networks only (maybe not even those), |
64 | # make sure you use appropriate security on untrusted networks. |
65 | OPTIONS="--root-directory=/var/lib/infinote --security-policy=no-tls" |