summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-12-29 20:21:28 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-12-29 20:21:28 +0100
commit92b814b3eeb8e7edce20904b8a0683758c7ca6bb (patch)
tree0dbe0763d6d6513f37afc2bc557f3f30750c1487 /systemd
parent0a9e6373a59674b8472bd714251e902dd819691d (diff)
downloadpacredir-92b814b3eeb8e7edce20904b8a0683758c7ca6bb.tar.gz
pacredir-92b814b3eeb8e7edce20904b8a0683758c7ca6bb.tar.zst
support reload from systemd service
Diffstat (limited to 'systemd')
-rw-r--r--systemd/pacredir.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/pacredir.service b/systemd/pacredir.service
index 0463384..b2a46ed 100644
--- a/systemd/pacredir.service
+++ b/systemd/pacredir.service
@@ -14,6 +14,7 @@ Documentation=https://github.com/eworm-de/pacredir#pacredir
[Service]
Type=notify
ExecStart=/usr/bin/pacredir
+ExecReload=/usr/bin/kill -HUP $MAINPID
DynamicUser=on
ProtectSystem=full
ProtectHome=on