Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 430096 Details for
Bug 579580
net-misc/gnunet, net-misc/gnunet-gtk, net-misc/gnurl: a GNU P2P networking suite
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/gnunet.initd for gnunet
gnunet.initd (text/plain), 1.27 KB, created by
ng0
on 2016-04-11 09:31:43 UTC
(
hide
)
Description:
files/gnunet.initd for gnunet
Filename:
MIME Type:
Creator:
ng0
Created:
2016-04-11 09:31:43 UTC
Size:
1.27 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >if [ -d /run ] ; then > PIDFILE=${PIDFILE:-/run/gnunet-arm.pid} >else > PIDFILE=${PIDFILE:-/var/run/gnunet-arm.pid} >fi > >SYSTEM_CONF="/etc/gnunet/gnunet.conf" > >depend() { > need net >} > >checkconfig() { > if ! test -f $(SYSTEM_CONF); then > eerror "You must create $(SYSTEM_CONF) first. Try 'gnunet-setup' for that." > return 1 > fi > if ! test -d /home/gnunet; then > eerror "You must create /home/gnunet first. Try 'useradd -g gnunet -m gnunet'." > return 1 > fi >} > >start() { > checkconfig || return 1 > > local piddir=$(dirname ${PIDFILE}) > if [ ! -d ${piddir} ] ; then > ebegin "Making ${piddir}" > mkdir -p ${piddir} > eend $? > ebegin "Changing permissions of ${piddir}" > chown gnunet:gnunet ${piddir} > eend $? > fi > > ebegin "Starting ${SVCNAME}" > start-stop-daemon --start --user gnunet --name gnunet --pidfile ${PIDFILE} \ > --exec /usr/lib/gnunet/libexec/gnunet-service-arm -- -d -c $(SYSTEM_CONF) > # flags to be passed to the process appear after the double-dash > eend $? >} > >stop() { > ebegin "Stopping ${SVCNAME}" > start-stop-daemon --stop --signal USR1 --pidfile ${PIDFILE} > sleep 3 > start-stop-daemon --stop --signal QUIT --pidfile ${PIDFILE} > eend $? >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 579580
:
430088
|
430090
|
430092
|
430094
|
430096
|
430098
|
430100
|
430102
|
430146
|
430148
|
430176
|
430178
|
430180
|
437880
|
437882
|
437884
|
437886
|
437888
|
437890
|
437892
|
437894