mirror of
https://github.com/openvk/openvk
synced 2024-11-16 03:59:19 +03:00
Alexander Minkin
6632d070f5
Let the docker handle logs. https://12factor.net/logs motivated me to do this
13 lines
No EOL
382 B
Bash
Executable file
13 lines
No EOL
382 B
Bash
Executable file
#!/bin/sh
|
|
|
|
trap 'exit 0' TERM
|
|
|
|
while :
|
|
do
|
|
chown -R 33:33 /opt/chandler/extensions/available/openvk/storage
|
|
chown -R 33:33 /opt/chandler/extensions/available/openvk/tmp/api-storage/audios
|
|
chown -R 33:33 /opt/chandler/extensions/available/openvk/tmp/api-storage/photos
|
|
chown -R 33:33 /opt/chandler/extensions/available/openvk/tmp/api-storage/videos
|
|
|
|
sleep 600
|
|
done |