Skip to content

Commit

Permalink
Fix background task no logs in failure (#7267)
Browse files Browse the repository at this point in the history
* fix: background task no logs in failure status

* fix: background task no logs in failure status

* fix: background task no logs in failure status
  • Loading branch information
wacmkxiaoyi authored Dec 27, 2024
1 parent 1058cf2 commit b83e272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/seafile-background-tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function start_seafile_background_tasks () {
before_start;
echo "Starting seafile background tasks ..."
$PYTHON -m seafevents.background_tasks --config-file "${seafevents_conf}" \
--logfile "${seafile_background_tasks_log}" -P "${pidfile}" 2>/dev/null 1>&2 &
--logfile "${seafile_background_tasks_log}" -P "${pidfile}" 2>>"${seafile_background_tasks_log}" 1>&2 &

# Ensure started successfully
sleep 5
Expand Down

0 comments on commit b83e272

Please sign in to comment.