1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Update ynh_supervisor

This commit is contained in:
yalh76 2021-06-30 17:06:34 +02:00
parent ec713a821e
commit 997a8ea309

View file

@ -109,7 +109,7 @@ ynh_supervisor_action() {
# Use reload-or-restart instead of reload. So it wouldn't fail if the service isn't running. # Use reload-or-restart instead of reload. So it wouldn't fail if the service isn't running.
if [ "$action" == "reload" ]; then if [ "$action" == "reload" ]; then
action="restart" action="update"
fi fi
# If the service fails to perform the action # If the service fails to perform the action