[tor-bugs] #19761 [Core Tor/Tor]: Tor systemd service should have RuntimeDirectory=tor

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 27 02:22:03 UTC 2016


#19761: Tor systemd service should have RuntimeDirectory=tor
------------------------------+---------------------
     Reporter:  candrews      |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  systemd
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+---------------------
 Tor writes it's pidfile to /var/run/tor/tor.pid by default. Therefore, the
 systemd configuration should create this directory with appropriate
 permissions by default.

 In https://gitweb.torproject.org/tor.git/tree/contrib/dist/tor.service.in
 there should be this line:
 {{{
 }}}
 added to the [Service] section.

 See the documentation at
 https://www.freedesktop.org/software/systemd/man/systemd.exec.html for
 more detail.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19761>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list