Skip to content
Snippets Groups Projects
Commit b50521d3 authored by Bob Mottram's avatar Bob Mottram
Browse files

koel upgrades

parent e3064aa9
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment