Fix mktemp path

This commit is contained in:
Benoit S 2021-08-29 09:53:18 +09:00
parent a973393b28
commit 9072564230

View file

@ -21,9 +21,9 @@ CARDS_REMOVE_DAYS=${CARDS_REMOVE_DAYS:-15}
# How old unreferenced statuses have to be before getting removed # How old unreferenced statuses have to be before getting removed
STATUSES_REMOVE_DAYS=${STATUSES_REMOVE_DAYS:-30} STATUSES_REMOVE_DAYS=${STATUSES_REMOVE_DAYS:-30}
# Path to logs files # Path to logs files
CULL_LOG=/tmp/$(mktemp tootpaste_XXX) CULL_LOG=$(mktemp /tmp/tootpaste_XXX)
TLS_EXPIRED_LOG=/tmp/$(mktemp tootpaste_XXX) TLS_EXPIRED_LOG=$(mktemp /tmp/tootpaste_XXX)
OTHER_ERRORS_LOG=/tmp/$(mktemp tootpaste_XXX) OTHER_ERRORS_LOG=$(mktemp /tmp/tootpaste_XXX)
PREV_ERRORS_LOG=/tmp/tootpaste_prev_errors PREV_ERRORS_LOG=/tmp/tootpaste_prev_errors
accounts_cull() { accounts_cull() {