PVESERVICES="pvedaemon pveproxy spiceproxy pvestatd pvebanner pvenetcommit pve-manager"
if [ "$1" = "remove" ]; then
for service in ${PVESERVICES}; do
- echo "REMOVETEST $service";
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask $service.service >/dev/null
fi
if [ "$1" = purge ]; then
for service in ${PVESERVICES}; do
- echo "PURGETEST $service";
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge $service.service >/dev/null
deb-systemd-helper unmask $service.service >/dev/null