🚑 Fixes incorrect data directory

This commit is contained in:
Franck Nijhof 2018-06-22 00:11:51 +02:00
parent 2208703a28
commit 55844ec474
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -14,8 +14,8 @@ if ! hass.directory_exists "/data/tasmoadmin"; then
# Ensure file permissions # Ensure file permissions
chown -R nginx:nginx /data/tasmoadmin chown -R nginx:nginx /data/tasmoadmin
find /data/tasmoadmin/tasmoadmin -not -perm 0644 -type f -exec chmod 0644 {} \; find /data/tasmoadmin -not -perm 0644 -type f -exec chmod 0644 {} \;
find /data/tasmoadmin/tasmoadmin -not -perm 0755 -type d -exec chmod 0755 {} \; find /data/tasmoadmin -not -perm 0755 -type d -exec chmod 0755 {} \;
fi fi
hass.log.debug 'Symlinking data directory to persistent storage location...' hass.log.debug 'Symlinking data directory to persistent storage location...'