mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 03:55:41 -04:00
26 lines
454 B
Plaintext
Executable File
26 lines
454 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
||
# shellcheck shell=bash
|
||
|
||
# permissions
|
||
aetherxown -R dockerx:dockerx \
|
||
/var/lib/nginx \
|
||
/var/tmp/nginx
|
||
|
||
aetherxown -R dockerx:dockerx \
|
||
/config/keys \
|
||
/config/log \
|
||
/config/nginx \
|
||
/config/php
|
||
|
||
aetherxown dockerx:dockerx \
|
||
/config/www
|
||
|
||
chmod -R g+w \
|
||
/config/nginx
|
||
|
||
chmod -R 644 /etc/logrotate.d
|
||
|
||
if [[ -f "/config/log/logrotate.status" ]]; then
|
||
chmod 600 /config/log/logrotate.status
|
||
fi
|