]> git.plutz.net Git - blast/commitdiff
syntax fix
authorPaul Hänsch <paul@plutz.net>
Thu, 19 Sep 2019 13:58:17 +0000 (15:58 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 19 Sep 2019 13:58:17 +0000 (15:58 +0200)
modules/nodm.mk

index a2d36622a5fb3f01fda84e497aa540133ae52cb9..55267baff639336946c97f4c02b281c2b8891f12 100644 (file)
@@ -35,7 +35,7 @@ endif
 .PHONY: _nodm_user _nodm_cfg
 
 _nodm_cfg: ${CFGROOT}
-       sed -Ei 'TimeoutStopSec=2' "$${CFGROOT}/lib/systemd/system/nodm.service"
+       sed -Ei 's;^TimeoutStopSec=.*$$;TimeoutStopSec=2;' "$${CFGROOT}/lib/systemd/system/nodm.service"
        rm "$${CFGROOT}/etc/default/nodm"
        chroot "$${CFGROOT}" dpkg-reconfigure --default-priority -u nodm