Improve temp file cleanup.

This commit is contained in:
Buster Neece 2022-11-19 06:22:48 -06:00
parent eabdc5bd9b
commit 10e1c4d6cc
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
1 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,9 @@
#!/usr/bin/env bash
exec /usr/sbin/tmpreaper 12h --protect '.tmpreaper' --verbose \
/tmp/app_nginx_client/* \
/tmp/app_fastcgi_temp/* \
exec tmpreaper 12h --verbose \
--protect '.tmpreaper' \
--protect 'proxies' \
/tmp/app_nginx_client \
/tmp/app_fastcgi_temp \
/var/azuracast/stations/*/temp \
> /proc/1/fd/1 2> /proc/1/fd/2
/var/azuracast/www_tmp