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: update init command to restart after configuration is done #97

Merged
merged 1 commit into from
Oct 24, 2022

Conversation

patrikhl
Copy link
Contributor

Addresses #89.

I am unsure exactly what the logic should be here but, based on the issue description, it seems like the call to os.Exit() in SetupToRunThroughSystemd() ends the configuration prematurely. My guess is that instead, the whole configuration should be set and then the program should be restarted through systemd afterwards.

@vercel
Copy link

vercel bot commented Oct 24, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
zap ✅ Ready (Inspect) Visit Preview Oct 24, 2022 at 4:35PM (UTC)

Copy link
Owner

@srevinsaju srevinsaju left a comment

Choose a reason for hiding this comment

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

Thank you @patrikhl for your patch, tested and it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants