|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
# Stop the socket on remove and upgrade so acpid is not restarted via socket
# activation
if [ -d /run/systemd/system ] && [ "$1" = remove -o "$1" = upgrade ] ; then
systemctl stop acpid.socket || true
fi
# Automatically added by dh_installsystemd/12.7.1ubuntu1
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'acpid.path' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/12.7.1ubuntu1
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'acpid.socket' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/12.7.1ubuntu1
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'acpid.service' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installinit/12.7.1ubuntu1
if [ -x "/etc/init.d/acpid" ] && [ "$1" = remove ]; then
invoke-rc.d --skip-systemd-native acpid stop || exit 1
fi
# End automatically added section