mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-12-04 03:11:24 +01:00
Small refactor of user/groups and add checks during startup. Only use -x in bash scripts when DEBUG=true set in env vars
This commit is contained in:
14 files changed
+70
-45
No files matched your search
@@ -5,8 +5,6 @@
|
||||
# or disable ipv6 in all nginx configs based on this setting.
|
||||
|
||||
set -e
|
||||
# verbose
|
||||
set -x
|
||||
|
||||
log_info 'IPv6 ...'
|
||||
|
||||
@@ -33,7 +31,7 @@ process_folder () {
|
||||
sed -E -i "$SED_REGEX" "$FILE"
|
||||
done
|
||||
|
||||
# ensure the files are still owned by the npmuser
|
||||
# ensure the files are still owned by the npm user
|
||||
chown -R "$PUID:$PGID" "$1"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user