Skip to content

Commit

Permalink
[WIP] Fix apache default page on ubuntu (#5998)
Browse files Browse the repository at this point in the history
* Added cron to list of packages

* Updated APP_PATH

* Rename virtual hosts config files
  • Loading branch information
EarlRamirez authored and snipe committed Jul 31, 2018
1 parent 5c820dd commit c2bb389
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snipeit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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]="-"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit c2bb389

Please sign in to comment.