Browse Source

Ensure disk quota variable is correctly set during install

Kristan Kenney 5 years ago
parent
commit
c52958d23c
2 changed files with 4 additions and 0 deletions
  1. 2 0
      install/hst-install-debian.sh
  2. 2 0
      install/hst-install-ubuntu.sh

+ 2 - 0
install/hst-install-debian.sh

@@ -1070,6 +1070,8 @@ fi
 # Disk quota
 if [ "$quota" = 'yes' ]; then
     echo "DISK_QUOTA='yes'" >> $HESTIA/conf/hestia.conf
+else
+    echo "DISK_QUOTA='no'" >> $HESTIA/conf/hestia.conf
 fi
 
 # Backups

+ 2 - 0
install/hst-install-ubuntu.sh

@@ -1120,6 +1120,8 @@ fi
 # Disk quota
 if [ "$quota" = 'yes' ]; then
     echo "DISK_QUOTA='yes'" >> $HESTIA/conf/hestia.conf
+else
+    echo "DISK_QUOTA='no'" >> $HESTIA/conf/hestia.conf
 fi
 
 # Backups