mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Merge remote-tracking branch 'intrigeri/bug12730-systemd-verify-config' into maint-0.2.5
This commit is contained in:
commit
88590ed3a6
3
changes/bug12730-systemd-verify-config
Normal file
3
changes/bug12730-systemd-verify-config
Normal file
@ -0,0 +1,3 @@
|
||||
o Distribution:
|
||||
- Verify configuration file via ExecStartPre in the systemd unit file.
|
||||
Patch from intrigeri; resolves ticket 12730.
|
1
contrib/dist/tor.service.in
vendored
1
contrib/dist/tor.service.in
vendored
@ -4,6 +4,7 @@ After = syslog.target network.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
Type = simple
|
||||
ExecStartPre = @BINDIR@/tor -f @CONFDIR@/torrc --verify-config
|
||||
ExecStart = @BINDIR@/tor -f @CONFDIR@/torrc
|
||||
ExecReload = /bin/kill -HUP ${MAINPID}
|
||||
KillSignal = SIGINT
|
||||
|
Loading…
Reference in New Issue
Block a user