etc/systemd: tor-services: add ExecReload

I am running `systemctl restart tor-client` too often to be comfortable.
This commit is contained in:
Aminda Suomalainen 2019-06-30 14:11:34 +03:00
parent bf3b91d93a
commit a915db9f8a
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ After=network.target
[Service]
ExecStart=/usr/bin/tor -f /etc/tor/torrc-client
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
User=debian-tor

View File

@ -4,6 +4,7 @@ After=network.target
[Service]
ExecStart=/usr/bin/tor -f /etc/tor/torrc-onehoponion
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
User=debian-tor