Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > 765dac533284254900879ec018ee4d85 > files > 1

tor-0.2.9.14-1.mga6.src.rpm

The default configuration file for Tor is "/etc/tor/torrc" and is used when you
run this command:

    # systemctl start tor.service

Multiple instances of Tor can be run simultaneously using different
configuration files. For example, tor@custom.service will use the configuration
file "/etc/tor/custom.torrc".

    # touch /etc/tor/custom.torrc
    # echo "SOCKSPort 9051" >> /etc/tor/custom.torrc
    # echo "DataDirectory /var/lib/tor/custom" >> /etc/tor/custom.torrc
    # mkdir /var/lib/tor/custom
    # chown toranon:root /var/lib/tor/custom
    # systemctl start tor@custom.service

To restart, reload, or stop all running instances of Tor (including tor.service
and any tor@.service), use tor-master.service. For example, to restart all
instances of Tor, run this command:

    # systemctl restart tor-master.service