Fix pull target of upgrade to be variable

Restart pixelfed service as part of post update procedure
This commit is contained in:
2020-01-24 23:20:00 +01:00
parent cc9fd79693
commit 259338ca83

View File

@@ -225,7 +225,7 @@ step_100_info() { echo "Upgrade \"${toolPath}\" to supported tag $toolTag"; }
step_100_alias() { ALIAS="upgrade"; }
step_100() {
exe cd $toolPath
exe git pull
exe git pull origin $toolTag
endReturn -o $? "git pull failed"
exe git checkout $toolTag
endReturn -o $? "git checkout failed"
@@ -241,7 +241,8 @@ step_101() {
exe php artisan migrate --force
exe php artisan horizon:purge
exe php artisan storage:link
exe service pixelfed restart
echo -n " [I] Restarting pixelfed horzion service..."
exe service pixelfed restart && echo "ok"
}
# Sequence Revision