openvk/install/automated/docker/acl_handler.sh

14 lines
417 B
Bash
Raw Normal View History

#!/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