#6535 -- Add sftpgo temp files to the tmpreaper rotation.

This commit is contained in:
Buster Neece 2023-12-17 19:50:01 -06:00
parent 74fb8b6aa7
commit ece35f09af
No known key found for this signature in database
3 changed files with 7 additions and 0 deletions

View File

@ -7,5 +7,6 @@ exec tmpreaper 12h --verbose \
--protect 'active_server' \
/tmp/app_nginx_client \
/tmp/app_fastcgi_temp \
/tmp/sftpgo_temp \
/var/azuracast/stations/*/temp \
/var/azuracast/www_tmp

View File

@ -10,3 +10,8 @@ cp /bd_build/web/sftpgo/sftpgo.json /var/azuracast/sftpgo/sftpgo.json
touch /var/azuracast/sftpgo/sftpgo.db
chown -R azuracast:azuracast /var/azuracast/sftpgo
# Create sftpgo temp dir
mkdir -p /tmp/sftpgo_temp
touch /tmp/sftpgo_temp/.tmpreaper
chmod -R 777 /tmp/sftpgo_temp

View File

@ -3,6 +3,7 @@
"idle_timeout": 15,
"upload_mode": 2,
"setstat_mode": 1,
"temp_path": "/tmp/sftpgo_temp",
"actions": {
"execute_on": [
"upload",