mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 40-config
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
#permissions
|
||||
chown abc:abc \
|
||||
#create folders
|
||||
mkdir -p
|
||||
/share/nextcloud \
|
||||
/data/config/nextcloud/config \
|
||||
/data/config/nextcloud/data
|
||||
|
||||
#permissions
|
||||
chown abc:abc
|
||||
/share/nextcloud \
|
||||
/data/config/nextcloud/config \
|
||||
/data/config/nextcloud/data
|
||||
|
||||
chown -R abc:abc \
|
||||
/var/lib/nginx
|
||||
|
||||
rm -r /data/config/www/nextcloud/assets
|
||||
chmod -R 777 /data/config
|
||||
|
||||
Reference in New Issue
Block a user