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:
parent
199f769f6d
commit
ec713a821e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue