diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-02-05 09:16:06 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2020-02-07 17:05:27 -0500 |
commit | f227722412f34dc65619bbfaa71a14991bf13797 (patch) | |
tree | e4a0bca92c486a26fe56da0e84de9a910bc72b57 /net-vpn/tor/files | |
parent | dev-util/apitrace: Version bump to 9.0.0 (diff) | |
download | gentoo-f227722412f34dc65619bbfaa71a14991bf13797.tar.gz gentoo-f227722412f34dc65619bbfaa71a14991bf13797.tar.bz2 gentoo-f227722412f34dc65619bbfaa71a14991bf13797.zip |
net-vpn/tor: remove unused files
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'net-vpn/tor/files')
-rw-r--r-- | net-vpn/tor/files/tor.initd-r8 | 37 | ||||
-rw-r--r-- | net-vpn/tor/files/torrc-r1 | 7 |
2 files changed, 0 insertions, 44 deletions
diff --git a/net-vpn/tor/files/tor.initd-r8 b/net-vpn/tor/files/tor.initd-r8 deleted file mode 100644 index de9b66eb555b..000000000000 --- a/net-vpn/tor/files/tor.initd-r8 +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -command=/usr/bin/tor -pidfile=/var/run/tor/tor.pid -command_args="--hush --runasdaemon 1 --pidfile \"${pidfile}\"" -retry=${GRACEFUL_TIMEOUT:-60} -stopsig=INT -command_progress=yes - -extra_commands="checkconfig" -extra_started_commands="reload" -description="Anonymizing overlay network for TCP" -description_checkconfig="Check for valid config file" -description_reload="Reload the configuration" - -checkconfig() { - ${command} --verify-config --hush > /dev/null 2>&1 - if [ $? -ne 0 ] ; then - eerror "Tor configuration (/etc/tor/torrc) is not valid." - eerror "Example is in /etc/tor/torrc.sample" - return 1 - fi -} - -start_pre() { - checkconfig || return 1 - checkpath -d -m 0755 -o tor:tor /var/run/tor -} - -reload() { - checkconfig || return 1 - ebegin "Reloading Tor configuration" - start-stop-daemon -s HUP --pidfile ${pidfile} - eend $? -} diff --git a/net-vpn/tor/files/torrc-r1 b/net-vpn/tor/files/torrc-r1 deleted file mode 100644 index 322a794aa1d5..000000000000 --- a/net-vpn/tor/files/torrc-r1 +++ /dev/null @@ -1,7 +0,0 @@ -# -# Minimal torrc so tor will work out of the box -# -User tor -PIDFile /var/run/tor/tor.pid -Log notice syslog -DataDirectory /var/lib/tor/data |