-
-
Notifications
You must be signed in to change notification settings - Fork 874
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
API: Created Systemd file so the app can run as a Linux system daemon. #2750
Conversation
WalkthroughThis pull request introduces a new systemd service configuration file for the Talawa API service. The configuration specifies the service's description, dependencies, execution parameters, and environment settings. It is designed to ensure that the service starts after the network is available and runs under specified user privileges. The service is set to automatically restart with a defined delay and is configured to be enabled for multi-user targets. Changes
Possibly related issues
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Our Pull Request Approval ProcessThanks for contributing! Testing Your CodeRemember, your PRs won't be reviewed until these criteria are met:
Our policies make our code better. ReviewersDo not assign reviewers. Our Queue Monitors will review your PR and assign them.
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
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.
Congratulations on making your first PR! 🎊 If you haven't already, check out our Contributing Guidelines and PR Reporting Guidelines to ensure that you are following our guidelines for contributing and creating PR.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2750 +/- ##
=======================================
Coverage 97.74% 97.74%
=======================================
Files 358 358
Lines 18114 18114
Branches 2600 2600
=======================================
Hits 17706 17706
Misses 404 404
Partials 4 4 ☔ View full report in Codecov by Sentry. |
There isn’t an issue assigned to you for this PR. Please follow the guidelines in our PR_GUIDELINES.md file. We have the procedures in place so that everyone has a fair chance of contributing. I will be closing this pull request. Please follow the procedures and resubmit when ready. |
#2737
This File will help the APP to run on Linux System daemon.
If you want to check for the system .
You can Run the below code as per order to check.
Step-1:
sudo cp examples/linux/systemd/talawa-api.service /etc/systemd/system/
Step-2:
sudo systemctl daemon-reload
Step-3:
sudo systemctl enable talawa-api.service
Step-4:
sudo systemctl start talawa-api.service
Step-5:
sudo systemctl status talawa-api.service
Summary by CodeRabbit