systemctl(1) (provided by systemd) isn't necessarily available in the environment yet, e.g. as identified by piuparts tests. Instead of relying on systemctl(1) let's use service(8) from init-system-helpers (which is an essential package), and while at it report the exit code of the app_lua reload. Fixes: | /var/lib/dpkg/info/lua-ngcp-kamailio.postinst: 7: /var/lib/dpkg/info/lua-ngcp-kamailio.postinst: systemctl: not found Change-Id: I52cf30d6421f58c77ce1983d95c141d3a331e939changes/68/27568/3
parent
ad78a66ec5
commit
85e77cc27a
Loading…
Reference in new issue