Update pialert_update.sh

bugfix #55
This commit is contained in:
pucherot
2021-01-27 17:02:07 +01:00
parent 119d648a93
commit 462c6613fc

View File

@@ -140,6 +140,10 @@ update_config() {
#
# ------------------------------------------------------------------------------
update_db() {
print_msg "- Updating DB permissions..."
sudo chgrp -R www-data $PIALERT_HOME/db 2>&1 >> "$LOG"
chmod -R 770 $PIALERT_HOME/db 2>&1 >> "$LOG"
return
}