]>
Commit | Line | Data |
---|---|---|
76e94b55 DM |
1 | #!/bin/sh |
2 | ||
3 | set -e | |
4 | ||
23615400 FG |
5 | #DEBHELPER# |
6 | ||
76e94b55 DM |
7 | case "$1" in |
8 | configure) | |
23615400 FG |
9 | # modeled after dh_systemd_start output |
10 | systemctl --system daemon-reload >/dev/null || true | |
11 | if [ -n "$2" ]; then | |
12 | _dh_action=try-reload-or-restart | |
13 | else | |
14 | _dh_action=start | |
15 | fi | |
16 | deb-systemd-invoke $_dh_action pve-firewall.service >/dev/null || true | |
76e94b55 DM |
17 | ;; |
18 | ||
76e94b55 DM |
19 | abort-upgrade|abort-remove|abort-deconfigure) |
20 | ;; | |
21 | ||
22 | *) | |
23 | echo "postinst called with unknown argument \`$1'" >&2 | |
24 | exit 1 | |
25 | ;; | |
26 | esac | |
27 | ||
985d7ae0 | 28 | exit 0 |