summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-systemd-restart
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-systemd-restart')
-rw-r--r--autoscripts/postinst-systemd-restart2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-systemd-restart b/autoscripts/postinst-systemd-restart
index 1b1e7c8..8fe18ce 100644
--- a/autoscripts/postinst-systemd-restart
+++ b/autoscripts/postinst-systemd-restart
@@ -1,4 +1,4 @@
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
- systemctl try-restart #UNITFILES# >/dev/null || true
+ deb-systemd-invoke try-restart #UNITFILES# >/dev/null || true
fi