Add db setup
This commit is contained in:
parent
7dfafc95d9
commit
87631c8aa7
@ -43,6 +43,7 @@ Please enter an option from below:
|
|||||||
[2] Quit Hestia Web Portal
|
[2] Quit Hestia Web Portal
|
||||||
[3] View the logs
|
[3] View the logs
|
||||||
[4] Update Hestia
|
[4] Update Hestia
|
||||||
|
[5] Set up database
|
||||||
|
|
||||||
[0] Quit Control Panel"
|
[0] Quit Control Panel"
|
||||||
|
|
||||||
@ -73,6 +74,10 @@ case "$opt" in
|
|||||||
rm data/config.db
|
rm data/config.db
|
||||||
git pull && ./hestia.sh
|
git pull && ./hestia.sh
|
||||||
;;
|
;;
|
||||||
|
5)
|
||||||
|
# Set up database
|
||||||
|
node modules/_setupdb.js
|
||||||
|
;;
|
||||||
0)
|
0)
|
||||||
# Exit the script
|
# Exit the script
|
||||||
clear
|
clear
|
||||||
|
Loading…
Reference in New Issue
Block a user