giteabot backport / giteabot (push) Canceled after 0s
giteabot / giteabot (push) Canceled after 0s
release-nightly / nightly-binary (push) Canceled after 0s
release-nightly / nightly-container (push) Canceled after 0s
cache-seeder / gobuild (push) Canceled after 0s
cache-seeder / lint (bindata, lint-backend) (push) Canceled after 0s
release-nightly-snapcraft / build-and-publish (push) Canceled after 0s
Includes direct password setup links in registration emails. Assisted-by: Codex:GPT-5
9 lines
328 B
Bash
Executable File
9 lines
328 B
Bash
Executable File
#!/bin/bash
|
|
# $1 = exit code of the run script, $2 = signal
|
|
if [ "$1" -ne 0 ]; then
|
|
# avoid immediately restarting the sshd service, which may cause CPU 100% if the error (permission, configuration) is not fixed
|
|
echo "openssh failed with exit code $1 - waiting a short delay before attempting a restart"
|
|
sleep 3
|
|
fi
|
|
exit 0
|