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

service is_running does not work with exit code 4 #748

Open
martinhoyer opened this issue Dec 1, 2023 · 0 comments
Open

service is_running does not work with exit code 4 #748

martinhoyer opened this issue Dec 1, 2023 · 0 comments

Comments

@martinhoyer
Copy link

Error code 4:
LSB: "program or service status is unknown"
systemd: "no such unit"

I would expect service.is_running() to return False, when service is not available, while like this is causes a crash, as there is run_expect([0, 1, 3]

Would it be possible to add rc 4, at least to SystemdService?

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

1 participant