mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
[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:
parent
5c820dd7b8
commit
c2bb3892b7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue