summaryrefslogtreecommitdiffstats
path: root/satellit_installer
diff options
context:
space:
mode:
authorSimon Rettberg2024-10-08 12:20:23 +0200
committerSimon Rettberg2024-10-08 12:20:23 +0200
commitc62acfb76be6b99b898cbc4acbfaa93a7530ab95 (patch)
tree49e5fae2dbd4137393e529789b9ad15c7c95585d /satellit_installer
parent[SS?S] Include acme.sh and according intergration requirements (diff)
downloadsetup-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
Diffstat (limited to 'satellit_installer')
-rwxr-xr-xsatellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript1
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