aboutsummaryrefslogtreecommitdiff
path: root/changes/bug12731-systemd-no-run-as-daemon
AgeCommit message (Collapse)Author
2014-10-27Remove changes files that have already been merged in release-0.2.5Nick Mathewson
(This means that changes/* is now "everything that changed since 0.2.5.10".)
2014-07-30Explicitly disable RunAsDaemon in the systemd unit file (#12731).intrigeri
Our current systemd unit uses "Type = simple", so systemd does not expect tor to fork. If the user has "RunAsDaemon 1" in their torrc, then things won't work as expected. This is e.g. the case on Debian (and derivatives), since there we pass "--defaults-torrc /usr/share/tor/tor-service-defaults-torrc" (that contains "RunAsDaemon 1") by default. The only solution I could find is to explicitly pass "--RunAsDaemon 0" when starting tor from the systemd unit file, which this commit does.