mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-14 21:01:49 +02:00
Test new nextcloud
This commit is contained in:
@@ -1,6 +1,19 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
|
||||
####################################
|
||||
# Clean nginx files at each reboot #
|
||||
####################################
|
||||
|
||||
echo "Cleaning files"
|
||||
for var in /data/config/nginx /data/config/crontabs /data/config/logs; do
|
||||
if [ -d "$var" ]; then rm -r "$var"; fi
|
||||
done
|
||||
|
||||
########################
|
||||
# Settings permissions #
|
||||
########################
|
||||
|
||||
ocpath="${NEXTCLOUD_PATH}"
|
||||
htuser='abc'
|
||||
htgroup='abc'
|
||||
|
||||
Reference in New Issue
Block a user