From 5270cd2c6b24b20f6f38504fdfdcc42569d98ad7 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Sat, 30 Jan 2021 00:20:32 +0100 Subject: [PATCH] fix port already used service --- lib/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests.sh b/lib/tests.sh index d624151..ddc0f8b 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -439,7 +439,7 @@ TEST_PORT_ALREADY_USED () { lxc file push $TEST_CONTEXT/netcat.service $LXC_NAME/etc/systemd/system/netcat.service # Then start this service to block this port. - LXC_EXEC "systemctl enable netcat & systemctl start netcat" + LXC_EXEC "systemctl enable --now netcat" _PREINSTALL