2020-06-22 07:39:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
# modeled after dh_systemd_start output
|
|
|
|
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
|
2020-10-31 20:27:06 +00:00
|
|
|
deb-systemd-invoke stop 'proxmox-backup-banner.service' 'proxmox-backup-proxy.service' \
|
|
|
|
'proxmox-backup.service' 'proxmox-backup-daily-update.timer' >/dev/null || true
|
2020-06-22 07:39:37 +00:00
|
|
|
fi
|