Verify configuration file via ExecStartPre in the systemd unit file (#12730).
This commit is contained in:
parent
5c200d9be2
commit
0a70579784
|
@ -0,0 +1,3 @@
|
|||
o Distribution:
|
||||
- Verify configuration file via ExecStartPre in the systemd unit file.
|
||||
Patch from intrigeri; resolves ticket 12730.
|
|
@ -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