/usr/share/debhelper/autoscripts/prerm-systemd 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 | if [ -d /run/systemd/system ]; then
deb-systemd-invoke stop #UNITFILES# >/dev/null
fi
|