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

Change linux service type #98

Merged
merged 2 commits into from
Feb 19, 2021
Merged

Change linux service type #98

merged 2 commits into from
Feb 19, 2021

Conversation

willarmiros
Copy link
Contributor

Description of changes:
For systemd, the simple service type we were using would always return success to the system manager when running the X-Ray daemon process even if executing the daemon binary wasn't successful. The exec type only returns success once the binary is executed successfully, which provides a more expected and explicit failure mode if the binary is not executed successfully.

Source: https://www.freedesktop.org/software/systemd/man/systemd.service.html#Options

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@willarmiros willarmiros merged commit 70b83dd into master Feb 19, 2021
@willarmiros willarmiros deleted the willarmiros-patch-1 branch February 19, 2021 17:42
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.

None yet

2 participants