diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-02-26 23:50:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-02-26 23:50:05 +0000 |
commit | ed40676841e317a2aafa04c4c804bb6043864740 (patch) | |
tree | 91c5e4b12acc09eabb2b1234eb633aa78af224d2 /net-p2p/gnunet/files/gnunet.initd-0.9.0v2 | |
parent | dc106bfbeb980942a8490753d6883eb34b13ea12 (diff) |
repo cleanup...drop old ebuilds, drop ebuilds already in portage tree
Diffstat (limited to 'net-p2p/gnunet/files/gnunet.initd-0.9.0v2')
-rw-r--r-- | net-p2p/gnunet/files/gnunet.initd-0.9.0v2 | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/net-p2p/gnunet/files/gnunet.initd-0.9.0v2 b/net-p2p/gnunet/files/gnunet.initd-0.9.0v2 deleted file mode 100644 index 604f448e..00000000 --- a/net-p2p/gnunet/files/gnunet.initd-0.9.0v2 +++ /dev/null @@ -1,35 +0,0 @@ -#!/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/gnunet.conf"; then - eerror "You must create /etc/gnunet.conf file first" - return 1 - fi - if ! test -f "/var/lib/gnunet/hostlist/learned.data"; then - mkdir -p /var/lib/gnunet/hostlist/ - wget -q http://v9.gnunet.org:58080/ -O /var/lib/gnunet/hostlist/learned.data - chown -R gnunetd:gnunetd /var/lib/gnunet/hostlist - fi - - ebegin "Starting GNUnet" - sudo -u gnunetd /usr/bin/gnunet-arm -s -c /etc/gnunet.conf - eend $? "Failed to start GNUnet" -} - -stop() { - ebegin "Stopping GNUnet" - sudo -u gnunetd /usr/bin/gnunet-arm -e -c /etc/gnunet.conf - eend $? "Failed to stop GNUnet" -} - -restart() { - svc_stop - sleep 3 - svc_start -} |