-
Notifications
You must be signed in to change notification settings - Fork 407
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
Provide systemd unit file in .deb
and .rpm
packages
#4478
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4478 +/- ##
==========================================
- Coverage 73.79% 71.21% -2.59%
==========================================
Files 330 330
Lines 22908 22908
==========================================
- Hits 16906 16313 -593
- Misses 4764 5365 +601
+ Partials 1238 1230 -8 see 31 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asked a couple of questions, but I'm not an expert in systemd, so my questions might be irrelevant. I think I need to read something about systemd best practices, could you please share something to learn from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How was this tested?
Should FerretDB be run by root user only or non root user?
We wouldn't know the user, so ignore my comment. |
What is recommended? |
https://serverfault.com/a/413408 Ok, we should update the documentation and CHANGELOG.md too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build fails. Please run task docs-fmt
and read the writing guide
.deb
and .rpm
packages
Description
Please give some opinions about providing the configuration. I've dropped the
EnvironmentFile
usage, as it's not a recommended way by systemd team. The configuration can be specified withsystemctl edit
to contain them directly in the unift file.Closes #2287.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Milestone (Next
), Labels, Project and project's Sprint fields.