[DOCS-8850] For systemd mongd.service file need to include Type = forking Created: 24/Sep/16 Updated: 30/Oct/23 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Roy Rim | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 1 year, 14 weeks, 2 days ago | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
Customer is on Ubuntu 16.04 and copied the mongod.service file from our docs but could not get the service to successfully run unless he included "Type = forking" under [Service]. Type of forking is recommended for daemon style services. thomas.schubert pointed out that this is actually dependent on mongod's configuration. If mongod configuration has fork = true then the mongod.system file must also contain "Type = forking". For more on Type see this: We should modify our document to include this. We may also consider including PIDFile= as well although this should match with the mongod.conf otherwise things do not start/stop well. |
| Comments |
| Comment by Education Bot [ 31/Oct/22 ] |
|
Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you! |