mirror of
https://github.com/openvk/openvk
synced 2024-12-27 11:01:28 +03:00
14 lines
417 B
Bash
14 lines
417 B
Bash
|
#!/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
|
||
|
chown -R 33:33 /var/log/openvk
|
||
|
|
||
|
sleep 600
|
||
|
done
|