* [gentoo-commits] gentoo-x86 commit in net-p2p/gnunet/files: gnunet.initd gnunet gnunet-2 gnunet-download-manager.scm
@ 2008-02-04 15:24 Raul Porcel (armin76)
0 siblings, 0 replies; only message in thread
From: Raul Porcel (armin76) @ 2008-02-04 15:24 UTC (permalink / raw
To: gentoo-commits
armin76 08/02/04 15:24:57
Added: gnunet.initd
Removed: gnunet gnunet-2 gnunet-download-manager.scm
Log:
Revision bump to fix bug #207301 and bug #207318
(Portage version: 2.1.4.1, RepoMan options: --force)
Revision Changes Path
1.1 net-p2p/gnunet/files/gnunet.initd
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/gnunet/files/gnunet.initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/gnunet/files/gnunet.initd?rev=1.1&content-type=text/plain
Index: gnunet.initd
===================================================================
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need net
}
start() {
if ! test -f "/etc/gnunetd.conf"; then
eerror "You must create /etc/gnunetd.conf file first"
return 1
fi
ebegin "Starting GNUnet"
# -u username, -c path to gnunet.conf file
start-stop-daemon --start --quiet --background --exec /usr/bin/gnunetd \
-- -u gnunetd -c /etc/gnunetd.conf
eend $? "Failed to start GNUnet"
}
stop() {
ebegin "Stopping GNUnet"
killall gnunetd
eend $? "Failed to stop GNUnet"
}
restart() {
svc_stop
sleep 3
svc_start
}
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-04 15:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-04 15:24 [gentoo-commits] gentoo-x86 commit in net-p2p/gnunet/files: gnunet.initd gnunet gnunet-2 gnunet-download-manager.scm Raul Porcel (armin76)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox