Avoid abc user

This commit is contained in:
Alexandre
2023-03-31 22:05:08 +02:00
parent 0afbaa8163
commit 669bf55835
6 changed files with 35 additions and 25 deletions

View File

@@ -5,7 +5,9 @@
if [ -f /notinstalled ]; then exit 0; fi
# Specify launcher
LAUNCHER="sudo -u abc php /data/config/www/nextcloud/occ"
PUID=$(bashio::config "PUID")
PGID=$(bashio::config "PGID")
LAUNCHER="sudo -u \#"$PUID" php /data/config/www/nextcloud/occ"
####################
# Initialization #