chiark / gitweb /
adt-full: Use /etc/init.d/ to start services
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2023 23:39:39 +0000 (23:39 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2023 23:42:11 +0000 (23:42 +0000)
In CI, the systemd stuff seems to be present, which means that the in
the namespace, the scripts don't start because there's no systemd ?
I think ?

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
adt/acommon
adt/adt-full

index a8f96e73b64a689a9e7a62ef1109bd2a9c86d1cb..7d4c1cf70cde020864151cdf7129d2510b09976b 100644 (file)
@@ -152,8 +152,8 @@ setup-host () {
     in- $cs apt-mark auto $unwanted_deps
     in- $cs apt-get -y autoremove
 
-    in- $cs service userv start
-    in- $cs service rsyslog start
+    in- $cs /etc/init.d/userv start
+    in- $cs /etc/init.d/rsyslog start
 
     configure $cs
 
index f23ce517f8e15a4e7ecd10fab2b352b71f11457c..764c1e714cfc77b01f9d29e0424b14ce4e418c46 100755 (executable)
@@ -13,7 +13,7 @@ setup-pair
 
 in- server sh -x /etc/init.d/userv start
 
-in- server service hippotatd restart
+in- server /etc/init.d/hippotatd restart
 
 in-ns-await-up server 192.0.2.1