Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
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. Andrehowto:systemd [2022/11/30 22:00] (current) – [Start Synchronet BBS from systemd] replace viewcvs link with gitlab link digital man
Line 5: Line 5:
 In this case, instead of use the old SysV-style /etc/init.d/sbbs.service init script, you use a systemd services unit file: In this case, instead of use the old SysV-style /etc/init.d/sbbs.service init script, you use a systemd services unit file:
  
-Create and edit (or download from [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/install/systemd/sbbs.service|here]]) the following file (please correct your ExecStart path and User/Group as you need):+Create and edit (or download from [[https://gitlab.synchro.net/main/sbbs/-/raw/master/install/systemd/sbbs.service|here]]) the following file (please correct your ExecStart path and User/Group as you need):
  
 ===== Where is My Service File? ===== ===== Where is My Service File? =====
Line 27: Line 27:
   Type=forking   Type=forking
   Environment=SBBSROOT=/sbbs SBBSCTRL=/sbbs/ctrl   Environment=SBBSROOT=/sbbs SBBSCTRL=/sbbs/ctrl
 +  # this stops you running out of files
 +  LimitNOFILE=10000
 +  # this enables you to take a good core dump
 +  LimitCORE=infinity
   User=sbbs   User=sbbs
   Group=sbbs   Group=sbbs
howto/systemd.1651980344.txt · Last modified: 2022/05/07 20:25 by Andre
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0