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

Fix restart-or-reload

This commit is contained in:
yalh76 2021-06-30 13:44:35 +02:00
parent 199f769f6d
commit ec713a821e

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="reload-or-restart" action="restart"
fi fi
# If the service fails to perform the action # If the service fails to perform the action