openvk/install/automated/docker/acl_handler.sh

13 lines
382 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
sleep 600
done