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