koel upgrades
This commit is contained in:
parent
e3064aa9c3
commit
b50521d344
|
@ -165,11 +165,17 @@ function upgrade_koel {
|
|||
KOEL_DOMAIN_NAME=$(get_completion_param "koel domain")
|
||||
fi
|
||||
|
||||
systemctl stop koel
|
||||
|
||||
# update to the next commit
|
||||
function_check set_repo_commit
|
||||
set_repo_commit /var/www/$KOEL_DOMAIN_NAME/htdocs "koel commit" "$KOEL_COMMIT" $KOEL_REPO
|
||||
|
||||
chown -R www-data:www-data /var/www/${KOEL_DOMAIN_NAME}/htdocs
|
||||
cd /var/www/${KOEL_DOMAIN_NAME}/htdocs
|
||||
php artisan koel:init
|
||||
chown -R www-data:www-data *
|
||||
|
||||
systemctl start koel
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue