Trac issueshttps://gitlab.torproject.org/legacy/trac/-/issues2020-06-13T14:40:29Zhttps://gitlab.torproject.org/legacy/trac/-/issues/8368Add tor.service (for systemd) to upstream package2020-06-13T14:40:29ZTracAdd tor.service (for systemd) to upstream packageIn Fedora we have a custom systemd service file for running Tor. We are encouraged to push changes upstream, and thus I am proposing that it be included as part of the upstream tarball. I have pasted the contents below, but please do adv...In Fedora we have a custom systemd service file for running Tor. We are encouraged to push changes upstream, and thus I am proposing that it be included as part of the upstream tarball. I have pasted the contents below, but please do advise on whether this can be improved:
$ cat tor.service
[Unit]
Description = Anonymizing overlay network for TCP
After = syslog.target network.target nss-lookup.target
[Service]
Type = simple
ExecStart = /usr/bin/tor --runasdaemon 0 --defaults-torrc /usr/share/tor/defaults-torrc -f /etc/tor/torrc --quiet
ExecReload = /bin/kill -HUP ${MAINPID}
ExecStop = /bin/kill -INT ${MAINPID}
TimeoutSec = 30
Restart = on-failure
LimitNOFILE = 4096
[Install]
WantedBy = multi-user.target
**Trac**:
**Username**: jamielinuxTor: 0.2.5.x-finalhttps://gitlab.torproject.org/legacy/trac/-/issues/8966contrib/ directory should be cleaned up2020-06-13T14:29:24ZRobert Ransomcontrib/ directory should be cleaned upThe `contrib/` directory is full of files which are unmaintained and should not be in use. The few files which are known to be required by other parts of the Tor tarball should be moved elsewhere, either to a `scripts/` or `etc/` direct...The `contrib/` directory is full of files which are unmaintained and should not be in use. The few files which are known to be required by other parts of the Tor tarball should be moved elsewhere, either to a `scripts/` or `etc/` directory or to a subdirectory of `contrib/` with a meaningful name, and _documented_.
Packaging files and their documentation belong in other repositories, unless Nick is willing to verify that they are still useful and document and maintain them.Tor: 0.2.5.x-final