Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
howto:systemd [2021/01/01 13:44] – [Ubuntu 16.04+] Retros tip from IRC digital man | howto:systemd [2022/05/07 20:25] – systemd shouldn't be capitalized. Added a section for people to find their existing service file. Minor formatting fix to "tweaks" section. Andre | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Start Synchronet BBS from Systemd | + | ====== Start Synchronet BBS from systemd |
- | If you run a modern GNU/Linux distribution, | + | If you run a modern GNU/Linux distribution, |
In this case, instead of use the old SysV-style / | In this case, instead of use the old SysV-style / | ||
Create and edit (or download from [[http:// | Create and edit (or download from [[http:// | ||
+ | |||
+ | ===== Where is My Service File? ===== | ||
+ | |||
+ | If you are already running Synchronet from systemd but can't remember where the config file is, the following commands will help. | ||
+ | |||
+ | '' | ||
+ | |||
+ | Use that service name to return the path to the config file. Example: '' | ||
+ | |||
===== Ubuntu 16.04+ ===== | ===== Ubuntu 16.04+ ===== | ||
Line 121: | Line 130: | ||
- | Finally, you must execute //systemd daemon-reload// | + | Finally, you must execute //systemd daemon-reload// |
Test your setup: | Test your setup: | ||
Line 171: | Line 180: | ||
===== Recommended Tweaks to the Service Section === | ===== Recommended Tweaks to the Service Section === | ||
- | Add these to the '' | + | Add these to the '' |
To increase the open file limit: | To increase the open file limit: | ||
- | | + | <file sbbs.service> |
+ | LimitNOFILE=10000 | ||
+ | </ | ||
To allow core file generation (for crash/ | To allow core file generation (for crash/ | ||
- | | + | <file sbbs.service> |
+ | LimitCORE=infinity | ||
+ | </ | ||
===== See Also ===== | ===== See Also ===== |