Skip to content

Commit

Permalink
Merge pull request thijsvanloef#540 from kimzuni/main
Browse files Browse the repository at this point in the history
Modifying Supercronic Related Code in start.sh
  • Loading branch information
thijsvanloef authored Apr 24, 2024
2 parents 6bef96a + 8511001 commit 2200697
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,8 @@ if [ "${AUTO_REBOOT_ENABLED,,}" = true ] && [ "${RCON_ENABLED,,}" = true ]; then
supercronic -quiet -test "/home/steam/server/crontab" || exit
fi

if { [ "${AUTO_UPDATE_ENABLED,,}" = true ] && [ "${UPDATE_ON_BOOT,,}" = true ]; } || [ "${BACKUP_ENABLED,,}" = true ] || \
[ "${AUTO_REBOOT_ENABLED,,}" = true ]; then
supercronic "/home/steam/server/crontab" &
if [ -s "/home/steam/server/crontab" ]; then
supercronic -passthrough-logs "/home/steam/server/crontab" &
LogInfo "Cronjobs started"
else
LogInfo "No Cronjobs found"
Expand Down

0 comments on commit 2200697

Please sign in to comment.