lint: do not use systemctl in postinst
This commit is contained in:
parent
66dd8e9e38
commit
54ec4fb606
|
@ -2,7 +2,7 @@ Source: dspawn
|
|||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Christophe Siraut <csiraut@entrouvert.com>
|
||||
Build-Depends: debhelper (>= 7), dh-python, python3, python3-setuptools
|
||||
Build-Depends: debhelper (>= 7), dh-systemd, dh-python, python3, python3-setuptools
|
||||
Standards-Version: 3.9.8
|
||||
|
||||
Package: dspawn
|
||||
|
|
|
@ -22,7 +22,7 @@ case "$1" in
|
|||
configure)
|
||||
deb-systemd-invoke enable systemd-networkd.service
|
||||
deb-systemd-invoke enable machines.target
|
||||
systemctl is-active systemd-networkd.service || deb-systemd-invoke start systemd-networkd.service
|
||||
deb-systemd-invoke start systemd-networkd.service
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
|
Loading…
Reference in New Issue