/usr/share/debhelper/autoscripts/postinst-systemd-restart is in dh-systemd 1.14.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
deb-systemd-invoke try-restart #UNITFILES# >/dev/null || true
fi
|