mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-23 13:18:14 -05:00
61b290e220
Really not sure why this fixes #2734 however it does actually help the ownership script succeed specifically on arm7/raspbian
21 lines
483 B
Bash
Executable File
21 lines
483 B
Bash
Executable File
#!/command/with-contenv bash
|
|
# shellcheck shell=bash
|
|
|
|
set -e
|
|
|
|
log_info 'Setting ownership ...'
|
|
|
|
# root
|
|
chown root /tmp/nginx
|
|
|
|
# npmuser
|
|
chown -R npmuser:npmuser /data
|
|
chown -R npmuser:npmuser /etc/letsencrypt
|
|
chown -R npmuser:npmuser /etc/nginx
|
|
chown -R npmuser:npmuser /run/nginx
|
|
chown -R npmuser:npmuser /tmp/nginx
|
|
chown -R npmuser:npmuser /var/cache/nginx
|
|
chown -R npmuser:npmuser /var/lib/logrotate
|
|
chown -R npmuser:npmuser /var/lib/nginx
|
|
chown -R npmuser:npmuser /var/log/nginx
|