Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display error if the app doesn't start #111

Open
MattiSG opened this issue Oct 28, 2021 · 0 comments
Open

Display error if the app doesn't start #111

MattiSG opened this issue Oct 28, 2021 · 0 comments
Assignees

Comments

@MattiSG
Copy link
Member

MattiSG commented Oct 28, 2021

If I already have a process running on the port set up for the app (default 8000), the app won't start as it cannot bind to that port.

However, Ansible will output:

TASK [openfisca_api_fr : Enable and start the systemd service] *****************
changed: [openfisca_api_fr]

TASK [openfisca_api_fr : Check that OpenFisca Web API is actually started] *****
ok: [openfisca_api_fr]

The systemctl log will show that the service is inactive (dead).

This error should be shown in the Ansible logs.

@cbenz cbenz self-assigned this Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants