diff options
author | Simon Rettberg | 2024-10-08 12:20:23 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-10-08 12:20:23 +0200 |
commit | c62acfb76be6b99b898cbc4acbfaa93a7530ab95 (patch) | |
tree | 49e5fae2dbd4137393e529789b9ad15c7c95585d | |
parent | [SS?S] Include acme.sh and according intergration requirements (diff) | |
download | setup-scripts-c62acfb76be6b99b898cbc4acbfaa93a7530ab95.tar.gz setup-scripts-c62acfb76be6b99b898cbc4acbfaa93a7530ab95.tar.xz setup-scripts-c62acfb76be6b99b898cbc4acbfaa93a7530ab95.zip |
[SSPS] slxadmin-cron: Write to stdout too now that it goes to journal
-rwxr-xr-x | satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript b/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript index 9ff600b..7a2aa63 100755 --- a/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript +++ b/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript @@ -12,6 +12,7 @@ FILE=$(mktemp) if ! timeout -k 3 60 php /srv/openslx/www/slx-admin/api.php cron >"$FILE" 2>&1; then php /srv/openslx/www/slx-admin/api.php cron --crashreport "$FILE" fi +cat "$FILE" rm -f -- "$FILE" "$PIDFILE" exit 0 |