Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
# Config that uses a privcount-patched tor for your systemd tor instances.
#
# Install a privcount-patched tor in:
# /usr/local
# Copy this file to:
# /etc/systemd/system/tor@.service.d/
# Run:
# systemctl daemon-reload
# systemctl restart tor@*
# systemctl status tor@*
[Service]
# Clear the configs, otherwise they would become lists (and fail)
ExecStartPre=
ExecStart=
# Use the privcount-patched tor instance in /usr/local/bin
ExecStartPre=/usr/bin/install -Z -m 02750 -o _tor-%i -g _tor-%i -d /var/run/%i
ExecStartPre=/usr/local/bin/tor --defaults-torrc /etc/tor/tor-service-defaults-torrc-instances -f /etc/tor/instances/%i/torrc --verify-config
ExecStart=/usr/local/bin/tor --defaults-torrc /etc/tor/tor-service-defaults-torrc-instances -f /etc/tor/instances/%i/torrc