From 8440656fd5a6d61a23a0985cfcdbe421de42498d Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Thu, 13 Jun 2019 11:32:06 -0400 Subject: Cirrus: Guarantee ssh is running for rootless Signed-off-by: Chris Evich --- contrib/cirrus/lib.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh index 462fa332a..97901cfc7 100644 --- a/contrib/cirrus/lib.sh +++ b/contrib/cirrus/lib.sh @@ -211,6 +211,8 @@ setup_rootless() { # Works with older versions of bash printf "${_env_var_name}=%q\n" "$(printenv $_env_var_name)" >> "/home/$ROOTLESS_USER/.bashrc" done + echo "Ensure the systems ssh process is up and running" + systemctl --wait restart sshd # a regular 'start' could hang forever } # Helper/wrapper script to only show stderr/stdout on non-zero exit -- cgit v1.2.3-54-g00ecf