mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 06:29:36 +01:00
etc/systemd: tor-services: add ExecReload
I am running `systemctl restart tor-client` too often to be comfortable.
This commit is contained in:
parent
bf3b91d93a
commit
a915db9f8a
@ -4,6 +4,7 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/tor -f /etc/tor/torrc-client
|
ExecStart=/usr/bin/tor -f /etc/tor/torrc-client
|
||||||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
User=debian-tor
|
User=debian-tor
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/tor -f /etc/tor/torrc-onehoponion
|
ExecStart=/usr/bin/tor -f /etc/tor/torrc-onehoponion
|
||||||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
User=debian-tor
|
User=debian-tor
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user