bug12731-systemd-no-run-as-daemon 513 B

123456789
  1. o Distribution:
  2. - Explicitly disable RunAsDaemon in the systemd unit file.
  3. Our current systemd unit uses "Type = simple", so systemd does
  4. not expect tor to fork. If the user has "RunAsDaemon 1" in their
  5. torrc, then things won't work as expected. This is e.g. the case
  6. on Debian (and derivatives), since there we pass
  7. "--defaults-torrc /usr/share/tor/tor-service-defaults-torrc"
  8. (that contains "RunAsDaemon 1") by default.
  9. Patch by intrigeri; resolves ticket 12731.