This closes 8368.
--- /dev/null
+ o Distribution:
+ - Include a tor.service file in contrib.dist for use with
+ systemd. Some distributions will be able to use this file unmodified;
+ others will need to tweak it, or write their own. Patch from
+ Jamie Nguyen; resolves ticket 8368.
contrib/operator-tools/tor.logrotate
contrib/dist/tor.sh
contrib/dist/torctl
+ contrib/dist/tor.service
src/config/torrc.sample
])
[Service]
Type = simple
-ExecStart = /usr/bin/tor -f /etc/tor/torrc
+ExecStart = @BINDIR@/tor -f @CONFDIR@/torrc
ExecReload = /bin/kill -HUP ${MAINPID}
KillSignal = SIGINT
TimeoutSec = 30
contrib/dist/suse/tor.sh.in \
contrib/dist/tor.sh \
contrib/dist/torctl \
+ contrib/dist/tor.service.in \
contrib/operator-tools/linux-tor-prio.sh \
contrib/operator-tools/tor-exit-notice.html \
contrib/or-tools/exitlist \