]> git.proxmox.com Git - lxcfs.git/blob - debian/lxcfs.postinst
bump version to 6.0.0-pve2
[lxcfs.git] / debian / lxcfs.postinst
1 #!/bin/sh
2
3 set -e
4
5 #DEBHELPER#
6
7 case "$1" in
8 configure)
9 if test -n "$2"; then # upgrade
10 dh_action="reload-or-try-restart";
11 else
12 dh_action="start"
13 fi
14
15 unit=lxcfs.service
16 if systemctl -q is-enabled "$unit"; then
17 systemctl --system daemon-reload >/dev/null || true
18 deb-systemd-invoke $dh_action "$unit" || true
19 fi
20 ;;
21
22 esac
23
24 exit 0