diff options
Diffstat (limited to 'autoscripts/postinst-systemd-restart')
-rw-r--r-- | autoscripts/postinst-systemd-restart | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoscripts/postinst-systemd-restart b/autoscripts/postinst-systemd-restart index e96bc93..1b1e7c8 100644 --- a/autoscripts/postinst-systemd-restart +++ b/autoscripts/postinst-systemd-restart @@ -1,3 +1,4 @@ if [ -d /run/systemd/system ]; then + systemctl --system daemon-reload >/dev/null || true systemctl try-restart #UNITFILES# >/dev/null || true fi |