mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Fix upgrade from OTPs versions
This commit is contained in:
parent
a03e0a8124
commit
ef784ee711
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ ynh_print_info --message="Stopping a systemd service..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped $app"
|
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped $app"
|
||||||
|
|
||||||
if ynh_version_gt "1.1.7~ynh1" "${previous_version}" ; then
|
if ynh_version_gt "${previous_version}" "1.1.1~ynh1" ; then
|
||||||
pkill -u $app
|
pkill -u $app
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue