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

fix: more flexible verdi status check #5862

Merged
merged 2 commits into from
Jan 26, 2023

Conversation

ltalirz
Copy link
Member

@ltalirz ltalirz commented Jan 9, 2023

verdi status was checking for the presence of the daemon by the name of the corresponding process. If the name was not as expected, it deleted (!) the PID file.

On some systems, the name of the daemon process differed from the name expected by AiiDA, causing verdi status to delete the PID file of a correctly operating daemon.

@ltalirz ltalirz linked an issue Jan 9, 2023 that may be closed by this pull request
`verdi status` was checking for the presence of the daemon by the name
of the corresponding process. If the name was not as expected, it
deleted (!) the PID file.

On some systems, the name of the daemon process differed from the name
expected by AiiDA, causing `verdi status` to delete the PID file of a
correctly operating daemon.
@ltalirz ltalirz force-pushed the fix/5336/daemon-status-circusd branch from 69457fe to 6252b18 Compare January 9, 2023 19:14
Copy link
Contributor

@sphuber sphuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ltalirz . Until we figure out the cause of the change in command name, this is an important work around.

@sphuber sphuber merged commit b35704f into aiidateam:main Jan 26, 2023
@sphuber sphuber deleted the fix/5336/daemon-status-circusd branch January 26, 2023 08:18
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

Successfully merging this pull request may close these issues.

verdi status deletes PID file of running daemon
2 participants