diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-18 08:55:29 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-18 08:55:29 +0000 |
commit | 7739735902c2a5f67aa07c37774ba611f4f63bf8 (patch) | |
tree | ac0cb83d34e377e792a3a3187c1ee272ad2da77e /net-libs/libinfinity/files | |
parent | Remove old (diff) | |
download | gentoo-2-7739735902c2a5f67aa07c37774ba611f4f63bf8.tar.gz gentoo-2-7739735902c2a5f67aa07c37774ba611f4f63bf8.tar.bz2 gentoo-2-7739735902c2a5f67aa07c37774ba611f4f63bf8.zip |
Version bump. Fixes bug 294922 and bug 267545. Thanks Robin Kauffman and Steffen Stramm for their work
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libinfinity/files')
-rw-r--r-- | net-libs/libinfinity/files/infinoted.confd | 12 | ||||
-rw-r--r-- | net-libs/libinfinity/files/infinoted.initd | 28 |
2 files changed, 40 insertions, 0 deletions
diff --git a/net-libs/libinfinity/files/infinoted.confd b/net-libs/libinfinity/files/infinoted.confd new file mode 100644 index 000000000000..81e62a4d9515 --- /dev/null +++ b/net-libs/libinfinity/files/infinoted.confd @@ -0,0 +1,12 @@ +# Config file for /etc/init.d/infinoted for Gentoo Linux + +USER="infinote" +GROUP="infinote" +UMASK="007" + +PIDFILE="/var/run/infinoted.pid" + +# Please read `infinoted --help` for other options. +# This is a fast setup for local networks only (maybe not even those), +# make sure you use appropriate security on untrusted networks. +OPTIONS="--root-directory=/var/lib/infinote --security-policy=no-tls" diff --git a/net-libs/libinfinity/files/infinoted.initd b/net-libs/libinfinity/files/infinoted.initd new file mode 100644 index 000000000000..cc11004041ba --- /dev/null +++ b/net-libs/libinfinity/files/infinoted.initd @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libinfinity/files/infinoted.initd,v 1.1 2010/06/18 08:55:29 xarthisius Exp $ + + +depend() { + need net +} + +start() { + ebegin "Starting infinoted" + start-stop-daemon \ + --start --quiet --background --make-pidfile \ + --pidfile /var/run/infinoted.pid \ + --exec /usr/bin/infinoted \ + --user ${USER} --group ${GROUP} --umask 007 \ + -- ${OPTIONS} + eend $? +} + +stop() { + ebegin "Stopping infinoted" + start-stop-daemon \ + --stop --quiet \ + --pidfile /var/run/infinoted.pid + eend $? +} |