friendica - stop service earlier
This commit is contained in:
@@ -134,10 +134,10 @@ step_22() {
|
||||
local tempAddons="${FR_LOC}/addon"
|
||||
|
||||
exe mv "$FR_LOC" "$tempBu"
|
||||
exe systemctl stop friendica.service
|
||||
step backup "$tempBu"
|
||||
endReturn "Backup failed; $FR_LOC renamed!"
|
||||
info "Installing version $latestVersion to $FR_LOC"
|
||||
exe systemctl stop friendica.service
|
||||
exe mv "$tempExtract" "$FR_LOC"
|
||||
exe mv "$tempExtractAddons/addon" "$tempAddons"
|
||||
exe chown -R www-data: "$FR_LOC"
|
||||
@@ -153,7 +153,7 @@ step_22() {
|
||||
exe cp -ar "$tempBu/home".* "$FR_LOC/"
|
||||
fi
|
||||
|
||||
exe systemctl stop friendica.service
|
||||
exe systemctl start friendica.service
|
||||
info "Don't forget to \"clean\" if everything is working as expected"
|
||||
}
|
||||
tempDown="/tmp/friendica"
|
||||
|
Reference in New Issue
Block a user