mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 21:34:06 +02:00
Update run.txt
https://github.com/alexbelgium/hassio-addons/issues/1201
This commit is contained in:
@@ -121,7 +121,13 @@ chmod -R 777 /data
|
|||||||
chmod -R 777 "$DATA_DIR"
|
chmod -R 777 "$DATA_DIR"
|
||||||
chown -R "$PUID:$PGID" "$DATA_DIR"
|
chown -R "$PUID:$PGID" "$DATA_DIR"
|
||||||
if [ -f "$DATA_DIR"/.secret ]; then
|
if [ -f "$DATA_DIR"/.secret ]; then
|
||||||
|
echo ".secret file is existing"
|
||||||
chmod 777 "$DATA_DIR"/.secret
|
chmod 777 "$DATA_DIR"/.secret
|
||||||
|
chown "$PUID:$PGID" "$DATA_DIR"/.secret
|
||||||
|
fi
|
||||||
|
if [ -f /config/addons_config/mealie_data/.secret ]; then
|
||||||
|
chmod 777 /config/addons_config/mealie_data/.secret
|
||||||
|
chown "$PUID:$PGID" /config/addons_config/mealie_data/.secret
|
||||||
fi
|
fi
|
||||||
echo "Permissions adapted"
|
echo "Permissions adapted"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user