Skip to content

Commit b3bcba9

Browse files
authored
Update hh-token-refresh.sh
1 parent 1c4c8d2 commit b3bcba9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/hh-token-refresh.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
set -euo pipefail
33
IFS=$'\n\t'
44

5+
56
ENV_FILE="${ENV_FILE:-/opt/job-search/telegram-bot/.env}"
67
[[ -f "$ENV_FILE" ]] || { logger -t hh-token-refresh "env file not found: $ENV_FILE"; exit 3; }
78
STATE_DIR="/var/lib/hh-token"

0 commit comments

Comments
 (0)