Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 248779 Details for
Bug 338909
net-p2p/gnunet: new package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Init script for the GNUnet 0.9.0pre1.
gnunet-0.9.0pre1.initd (text/plain), 865 bytes, created by
Vitaly Minko
on 2010-09-27 10:06:05 UTC
(
hide
)
Description:
Init script for the GNUnet 0.9.0pre1.
Filename:
MIME Type:
Creator:
Vitaly Minko
Created:
2010-09-27 10:06:05 UTC
Size:
865 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >depend() { > need net >} > >start() { > if [ ! -f "${GN_CONF}" ]; then > eerror "You must create the config file first." > return 1 > fi > > ebegin "Starting GNUnet" > if [ ! -f "${GN_LOG}" ]; then > einfo "No '${GN_LOG}' around. Creating new..." > touch "${GN_LOG}" > chown "${GN_USER}:${GN_GROUP}" "${GN_LOG}" > fi > > su -s /bin/sh ${GN_USER} -c \ > "/usr/bin/gnunet-arm -q -c ${GN_CONF} -l ${GN_LOG} -s" > eend $? "Failed to start GNUnet" >} > >stop() { > ebegin "Stopping GNUnet" > su -s /bin/sh ${GN_USER} -c "/usr/bin/gnunet-arm -q -c ${GN_CONF} -e" > eend $? "Failed to stop GNUnet" >} > >restart() { > ebegin "Stopping GNUnet" > su -s /bin/sh ${GN_USER} -c \ > "/usr/bin/gnunet-arm -q -c ${GN_CONF} -l ${GN_LOG} -r" > eend $? "Failed to restart GNUnet" >}
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 338909
:
248775
|
248776
|
248778
|
248779
|
248780
|
248782
|
248784
|
248786
|
256833
|
256834
|
256836
|
256838
|
258853
|
288043
|
288045
|
288047
|
288049
|
288601
|
289387
|
289389
|
289391
|
289393
|
298401
|
304143
|
304145
|
304147
|
304149
|
378212
|
381924
|
381926