1 2 3
if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ]; then deb-systemd-invoke stop #UNITFILES# >/dev/null || true fi