mirror of
https://github.com/openvk/openvk
synced 2024-12-23 17:12:01 +03:00
677e147688
* Kubernetes deployment * Update kubernetes deployment * Fix rewrite module load * Fix mysql-primary bootstrap * Fix mysql init-db apply order * Fix init-db.sql permissions * Fix MySQL missing *.sql import * Switch from MySQL to MariaDB * [skip ci] Example deployment update * Set root app in chandler configmap * Update missing php extension in base images * Update missing dependency in apache image * Remove default site configuration * [skip ci] Split Kubernetes deployments by type * Explicitly set persistent volume for openvk storage * [skip ci] Add README for Kubernetes * Replace old docker(-compose) files w/ new ones * Add README for docker usage * [skip ci] Update README.md and README_RU.md * [skip ci] Fix eventdb DB name * [skip ci] Kubernetes configmap: missing namespace * [skip ci] Fix typo * [skip ci] Ignore chandler.yml * [skip ci] Missing /var/log/openvk volume * [skip ci] Workaround for Docker <=20.10.6 * [skip ci] Handle permissions for apache2 * [skip ci] Initial Kafka support * [skip ci] Kafka values for Kubernetes
14 lines
No EOL
417 B
Bash
Executable file
14 lines
No EOL
417 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
|
|
chown -R 33:33 /var/log/openvk
|
|
|
|
sleep 600
|
|
done |