docs, social posts, s6 setup improvements #945

This commit is contained in:
jokob-sk
2025-01-09 14:22:39 +11:00
parent e9539962c9
commit e1f91ddf17
6 changed files with 168 additions and 783 deletions

View File

@@ -5,8 +5,8 @@ LOG_FILE="${INSTALL_DIR}/log/execution_queue.log"
# Check if there are any entries with cron_restart_backend
if grep -q "cron_restart_backend" "$LOG_FILE"; then
# Kill all python processes and restart the server
pkill -f "python " && (python ${INSTALL_DIR}/server > /dev/null 2>&1 &) && echo 'done'
# Kill all python processes (restart handled by s6 overlay)
pkill -f "python " && echo 'done'
# Remove all lines containing cron_restart_backend from the log file
sed -i '/cron_restart_backend/d' "$LOG_FILE"