reaction/DEBIAN/prerm
2023-12-20 15:56:39 +01:00

7 lines
169 B
Bash
Executable File

#!/bin/sh
set -e
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
deb-systemd-invoke stop 'reaction.service' >/dev/null || true
fi