summaryrefslogtreecommitdiff
path: root/net-vpn/tor/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/tor/files')
-rw-r--r--net-vpn/tor/files/tor.conf1
-rw-r--r--net-vpn/tor/files/tor.service21
2 files changed, 0 insertions, 22 deletions
diff --git a/net-vpn/tor/files/tor.conf b/net-vpn/tor/files/tor.conf
deleted file mode 100644
index 188c041e5442..000000000000
--- a/net-vpn/tor/files/tor.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /var/run/tor 0775 tor tor - -
diff --git a/net-vpn/tor/files/tor.service b/net-vpn/tor/files/tor.service
deleted file mode 100644
index 8fcc6740ed91..000000000000
--- a/net-vpn/tor/files/tor.service
+++ /dev/null
@@ -1,21 +0,0 @@
-[Unit]
-Description=The Onion Router
-
-[Service]
-ExecStartPre=/usr/bin/tor --verify-config -f /etc/tor/torrc
-ExecStart=/usr/bin/tor --RunAsDaemon 0 -f /etc/tor/torrc
-ExecReload=/bin/kill -HUP $MAINPID
-KillSignal=SIGINT
-TimeoutStopSec=32
-LimitNOFILE=30000
-
-# Hardening options:
-CapabilityBoundingSet = CAP_SETUID CAP_SETGID CAP_NET_BIND_SERVICE
-PrivateTmp = yes
-PrivateDevices = yes
-ProtectHome = yes
-ProtectSystem = full
-NoNewPrivileges = yes
-
-[Install]
-WantedBy=multi-user.target