File: syslog-ng-core.prerm

package info (click to toggle)
syslog-ng 3.38.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 16,484 kB
  • sloc: ansic: 147,811; python: 8,307; makefile: 5,767; sh: 5,048; java: 3,646; xml: 3,344; yacc: 1,168; lex: 497; perl: 193; awk: 190
file content (12 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
#! /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 syslog.socket || true
fi

#DEBHELPER#

exit 0