#6535 -- Add sftpgo temp files to the tmpreaper rotation.
This commit is contained in:
parent
74fb8b6aa7
commit
ece35f09af
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"idle_timeout": 15,
|
||||
"upload_mode": 2,
|
||||
"setstat_mode": 1,
|
||||
"temp_path": "/tmp/sftpgo_temp",
|
||||
"actions": {
|
||||
"execute_on": [
|
||||
"upload",
|
||||
|
|
Loading…
Reference in New Issue