Fix pull target of upgrade to be variable
Restart pixelfed service as part of post update procedure
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user