mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-02-12 04:31:34 -05:00
14 lines
250 B
Plaintext
Executable File
14 lines
250 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
# shellcheck shell=bash
|
|
|
|
# permissions
|
|
lsiown -R abc:abc \
|
|
/config
|
|
chmod -R +r /config/log
|
|
if [[ -z ${LSIO_READ_ONLY_FS} ]]; then
|
|
chmod -R 0644 /etc/logrotate.d
|
|
fi
|
|
|
|
# Workaround for systems with chmod errors
|
|
true
|