Skip to content

[change] Instead of reloading supervisor after changes, restart only the affected process #47

@pandafy

Description

@pandafy

The reload supervisor handler affects all the supervisor processes that are running on the system.

- name: reload supervisor
command: supervisorctl reload

This could cause unwanted downtime for other supervisor processes running on the system. We shall update this handler to only restart the affected supervisor process. The supervisor process name can be deduced as follows:

openwisp-flask-vpn-updater-{{ openwisp2_wireguard_vpn_uuid }}

We have done similar change in ansible-openwisp2 in this PR openwisp/ansible-openwisp2#392

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    To do (ansible/docker)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions