Skip to content

Commit 0c099e0

Browse files
committed
fix: env value should be LOGROTATE_DIRECTORY
1 parent 03a5081 commit 0c099e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const CRON_COMPRESS = process.env.CRON_COMPRESS ?? '*/10 * * * *';
33
export const CRON_BACKUP = process.env.CRON_BACKUP ?? '*/10 * * * *';
44
export const CRON_JANITOR = process.env.CRON_JANITOR ?? '*/10 * * * *';
55

6-
export const LOGROTATE_DIRECTORY = process.env.LOGS_DIRECTORY ?? 'logs';
6+
export const LOGROTATE_DIRECTORY = process.env.LOGROTATE_DIRECTORY ?? 'logs';
77
export const LOGROTATE_STATUSFILE =
88
process.env.LOGROTATE_STATUSFILE ?? 'cron.db';
99

0 commit comments

Comments
 (0)