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