diff options
Diffstat (limited to 'net-p2p/gnunet/files/gnunet-0.6.6b')
-rw-r--r-- | net-p2p/gnunet/files/gnunet-0.6.6b | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/net-p2p/gnunet/files/gnunet-0.6.6b b/net-p2p/gnunet/files/gnunet-0.6.6b deleted file mode 100644 index 4d2da5e7c2f9..000000000000 --- a/net-p2p/gnunet/files/gnunet-0.6.6b +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 -# description: Gnunet is an anonymous distributed secure network -# this server is required to connect to the network, -# it will open a TCP port to communicate with the -# GUI and an UDP port to communicate with the world. - -depend() { - need net -} - -start() { - ebegin "Starting GNUnet" - # -u username, -c path to gnunet.conf file - start-stop-daemon --start --quiet --background --exec /usr/bin/gnunetd \ - -- -u gnunet -c /etc/gnunet.conf - eend $? "Failed to start GNUnet" -} - -stop() { - ebegin "Stopping GNUnet" - killall gnunetd - eend $? "Failed to stop GNUnet" -} - -restart() { - svc_stop - sleep 3 - svc_start -} |