mirror of
https://github.com/YunoHost-Apps/prosody_ynh.git
synced 2024-09-03 20:15:57 +02:00
Fix yunohost diagnosis run
This commit is contained in:
parent
b5610e190c
commit
34de2c17af
4 changed files with 4 additions and 8 deletions
|
@ -33,10 +33,9 @@ ynh_script_progression --message="Disabling Metronome..."
|
||||||
ynh_systemd_action --service_name="metronome" --action="stop"
|
ynh_systemd_action --service_name="metronome" --action="stop"
|
||||||
systemctl disable metronome.service --quiet
|
systemctl disable metronome.service --quiet
|
||||||
|
|
||||||
ynh_exec_warn_less yunohost diagnosis run ports --force
|
ynh_exec_warn_less yunohost diagnosis run --force
|
||||||
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5222
|
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5222
|
||||||
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5269
|
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5269
|
||||||
ynh_exec_warn_less yunohost diagnosis run services --force
|
|
||||||
ynh_exec_warn_less yunohost diagnosis ignore --filter services service=metronome
|
ynh_exec_warn_less yunohost diagnosis ignore --filter services service=metronome
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -106,9 +106,8 @@ ynh_systemd_action --service_name="metronome" --action="start"
|
||||||
|
|
||||||
ynh_exec_warn_less yunohost diagnosis unignore --filter ports port=5222
|
ynh_exec_warn_less yunohost diagnosis unignore --filter ports port=5222
|
||||||
ynh_exec_warn_less yunohost diagnosis unignore --filter ports port=5269
|
ynh_exec_warn_less yunohost diagnosis unignore --filter ports port=5269
|
||||||
ynh_exec_warn_less yunohost diagnosis run ports --force
|
|
||||||
ynh_exec_warn_less yunohost diagnosis unignore --filter services service=metronome
|
ynh_exec_warn_less yunohost diagnosis unignore --filter services service=metronome
|
||||||
ynh_exec_warn_less yunohost diagnosis run services --force
|
ynh_exec_warn_less yunohost diagnosis run --force
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
|
@ -38,10 +38,9 @@ ynh_script_progression --message="Disabling Metronome..."
|
||||||
ynh_systemd_action --service_name="metronome" --action="stop"
|
ynh_systemd_action --service_name="metronome" --action="stop"
|
||||||
systemctl disable metronome.service --quiet
|
systemctl disable metronome.service --quiet
|
||||||
|
|
||||||
ynh_exec_warn_less yunohost diagnosis run ports --force
|
ynh_exec_warn_less yunohost diagnosis run --force
|
||||||
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5222
|
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5222
|
||||||
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5269
|
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5269
|
||||||
ynh_exec_warn_less yunohost diagnosis run services --force
|
|
||||||
ynh_exec_warn_less yunohost diagnosis ignore --filter services service=metronome
|
ynh_exec_warn_less yunohost diagnosis ignore --filter services service=metronome
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -49,10 +49,9 @@ ynh_script_progression --message="Disabling Metronome..."
|
||||||
ynh_systemd_action --service_name="metronome" --action="stop"
|
ynh_systemd_action --service_name="metronome" --action="stop"
|
||||||
systemctl disable metronome.service --quiet
|
systemctl disable metronome.service --quiet
|
||||||
|
|
||||||
ynh_exec_warn_less yunohost diagnosis run ports --force
|
ynh_exec_warn_less yunohost diagnosis run --force
|
||||||
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5222
|
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5222
|
||||||
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5269
|
ynh_exec_warn_less yunohost diagnosis ignore --filter ports port=5269
|
||||||
ynh_exec_warn_less yunohost diagnosis run services --force
|
|
||||||
ynh_exec_warn_less yunohost diagnosis ignore --filter services service=metronome
|
ynh_exec_warn_less yunohost diagnosis ignore --filter services service=metronome
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue