fix: ensure testing still works in docker container environments

This commit is contained in:
Jose Diaz-Gonzalez
2024-09-23 00:32:59 -04:00
parent d6a69a838e
commit c25071f0b8

View File

@@ -89,8 +89,8 @@ endif
ifeq ($(shell grep 22333 /usr/lib/systemd/system/ssh.socket),)
sed --in-place "s:^ListenStream=22:ListenStream=22 \\nListenStream=22333:g" /usr/lib/systemd/system/ssh.socket
endif
systemctl daemon-reload
systemctl restart ssh.socket
systemctl daemon-reload || true
systemctl restart ssh.socket || service ssh restart
endif
@echo "-----> Installing SSH public key..."