From 7cf0a293fd2f5611ca2076d469a11b7c18404a61 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 28 Jun 2025 14:04:39 +0200 Subject: [PATCH] test: adjust unexpected-restart.sh for proper systemd/s6 notify A systemd service should only use NOTIFY_SOCKET and an s6 style service reads its notify descript from the command line. For details, see notify.sh Signed-off-by: Joachim Wiberg --- test/unexpected-restart.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unexpected-restart.sh b/test/unexpected-restart.sh index 49ebc3ef..d415d8d6 100755 --- a/test/unexpected-restart.sh +++ b/test/unexpected-restart.sh @@ -15,8 +15,8 @@ test_setup() { run "cat >> $FINIT_CONF" < name:B serv -np -i B -N 0 -- B needs A (systemd) -service log:stdout notify:s6 name:C serv -np -i C -N 0 -- C needs B (s6) +service log:stdout notify:systemd name:B serv -np -i B -- B needs A (systemd) +service log:stdout notify:s6 name:C serv -np -i C -N %n -- C needs B (s6) service log:stdout notify:none name:D type:forking serv -i D -- D needs A (forking) task name:allup initctl cond set allup -- Everything is up EOF