summaryrefslogtreecommitdiff
path: root/debian/rsyslog.prerm
blob: 503b8499961c01071587f05e9d6509f7da894e5b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

# Stop the socket on remove so rsyslog is not restarted via socket activation
if [ -d /run/systemd/system ] && [ "$1" = remove ] ; then
	systemctl stop syslog.socket || true
fi

#DEBHELPER#