Correct PUID

This commit is contained in:
Alexandre
2023-03-31 22:10:26 +02:00
parent e44aefc383
commit e6f4300979
6 changed files with 4 additions and 9 deletions

View File

@@ -35,8 +35,7 @@ fi
# Specify launcher
PUID=$(bashio::config "PUID")
PGID=$(bashio::config "PGID")
LAUNCHER="sudo -u \#"$PUID" php /data/config/www/nextcloud/occ"
LAUNCHER="sudo -u \#$PUID php /data/config/www/nextcloud/occ"
# Inform if new version available
function nextcloud_download {

View File

@@ -6,7 +6,6 @@ if [ -f /notinstalled ]; then exit 0; fi
# Specify launcher
PUID=$(bashio::config "PUID")
PGID=$(bashio::config "PGID")
# Check current version
if [ -f /data/config/www/nextcloud/version.php ]; then

View File

@@ -8,7 +8,7 @@ if [ -f /notinstalled ]; then exit 0; fi
# Specify launcher
PUID=$(bashio::config "PUID")
PGID=$(bashio::config "PGID")
LAUNCHER="sudo -u \#"$PUID" php /data/config/www/nextcloud/occ"
LAUNCHER="sudo -u \#$PUID php /data/config/www/nextcloud/occ"
if $LAUNCHER fulltextsearch:test &>/dev/null; then
echo "Full Text Search is already working"

View File

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