[WIP] Fix apache default page on ubuntu (#5998)

* Added cron to list of packages

* Updated APP_PATH

* Rename virtual hosts config files
This commit is contained in:
Earl Ramirez 2018-07-30 21:09:37 -04:00 committed by snipe
parent 5c820dd7b8
commit c2bb3892b7

View file

@ -67,7 +67,7 @@ clear
readonly APP_USER="snipeitapp"
readonly APP_NAME="snipeit"
readonly APP_PATH="/var/www/$APP_NAME"
readonly APP_PATH="/var/www/html/$APP_NAME"
progress () {
spin[0]="-"
@ -457,6 +457,8 @@ case $distro in
log "phpenmod mbstring"
log "a2enmod rewrite"
log "a2ensite $APP_NAME.conf"
log "mv /etc/apache2/sites-enabled/000-default.conf /etc/apache2/sites-enabled/111-default.conf"
log "mv /etc/apache2/sites-enabled/snipeit.conf /etc/apache2/sites-enabled/000-snipeit.conf"
set_hosts