]> git.proxmox.com Git - proxmox-backup.git/blame - debian/postinst
bump version toƶ 0.8.2-1
[proxmox-backup.git] / debian / postinst
CommitLineData
b28253d6
DM
1#!/bin/sh
2
3set -e
4
5#DEBHELPER#
6
7case "$1" in
8 configure)
9 # modeled after dh_systemd_start output
10 systemctl --system daemon-reload >/dev/null || true
b28253d6
DM
11 if [ -n "$2" ]; then
12 _dh_action=try-reload-or-restart
13 else
14 _dh_action=start
15 fi
d7992679 16 deb-systemd-invoke $_dh_action proxmox-backup.service proxmox-backup-proxy.service >/dev/null || true
b28253d6
DM
17 ;;
18
19 abort-upgrade|abort-remove|abort-deconfigure)
20 ;;
21
22 *)
23 echo "postinst called with unknown argument \`$1'" >&2
24 exit 1
25 ;;
26esac
27
28exit 0