python-validity/debian/python3-validity.prerm
2020-07-12 04:08:51 +12:00

12 lines
248 B
Bash

#! /bin/sh
set -e
# Stop the socket on remove so syslog-ng is not restarted via socket activation
if [ -x "/usr/bin/deb-systemd-invoke" ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'python3-validity@*' || true
fi
#DEBHELPER#
exit 0