Bugzilla – Bug 1072274
network/tor: replace torctl with systemd service file
Last modified: 2020-01-13 09:59:39 UTC
Created attachment 752465 [details]
/usr/lib/systemd/system/tor-master.service (from Fedora)
The current tor.service systemd file is a wrapper around torctl instead of being a native service file.
This ticket is about making tor.service a native systemd service file.
I'm attaching the following files:
These files are mostly copies from the Fedora package with very minor changes to the specifics in openSUSE (i.e. tor username).
I tested them briefly on openSUSE Leap 42.3.
This is related to #1071981
Created attachment 752466 [details]
/usr/lib/systemd/system/tor.service (from Fedora)
Created attachment 752468 [details]
Created attachment 752472 [details]
/etc/logrotate.d/tor (based on Fedora's)
The Log entry in defaults-torrc should probably be replaced with the current default (notice to /var/log/tor/tor.log).
*** Bug 1159844 has been marked as a duplicate of this bug. ***
Current devel-version works for me.
This is an autogenerated message for OBS integration:
This bug (1072274) was mentioned in
https://build.opensuse.org/request/show/761967 Factory / tor
Let's count this as done.
The only thing missing is that the logrotate only reloads tor.service instead of tor-master.service
but that can come later, if someone adds a tor@.service