summaryrefslogtreecommitdiffstats
path: root/networkmanager/80-pacredir
diff options
context:
space:
mode:
Diffstat (limited to 'networkmanager/80-pacredir')
-rwxr-xr-xnetworkmanager/80-pacredir4
1 files changed, 2 insertions, 2 deletions
diff --git a/networkmanager/80-pacredir b/networkmanager/80-pacredir
index bd2def5..32114ae 100755
--- a/networkmanager/80-pacredir
+++ b/networkmanager/80-pacredir
@@ -1,7 +1,7 @@
#!/bin/sh
if [ "${2}" == "up" ]; then
- if pgrep -x pacredir >/dev/null; then
- kill -HUP $(pgrep -x pacredir)
+ if systemctl is-active -q pacredir.service; then
+ systemctl reload pacredir.service
fi
fi