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
Next revisionBoth sides next revision
config:nix [2015/05/17 21:25] – [LogFacility] jbbsconfig:nix [2020/09/15 16:41] – Don't [Unix] User/Group settings unless you have to digital man
Line 1: Line 1:
 ====== UNIX ====== ====== UNIX ======
  
-Configuration of Synchronet for use on Unix/Linux systems.+Configuration of ''[UNIX]'' section of the Synchronet initialization file (e.g. ''[[dir:ctrl]]/[[config:sbbs.ini]]'').
  
-===== sbbs.ini ===== +===== User/Group ===== 
- +If you are **not** [[howto:linux_non-root|starting sbbs as ''root'']], then you should **not** set these values.
-Unix/Linux Sysops will particularly want to pay attention to the ''[UNIX]'' section of your Synchronet initialization file (e.g. ''[[dir:ctrl]]/[[config:sbbs.ini]]'').+
  
 ==== User ==== ==== User ====
Line 31: Line 30:
  
   # chown -R sbbsuser:sbbsgroup /sbbs   # chown -R sbbsuser:sbbsgroup /sbbs
 +
 +If you do this, then be sure to run any Synchronet utilities (e.g. [[util:SCFG]]) as the same user that the BBS is going to run as:
      
 +  # su -c /sbbs/exec/scfg sbbs  
 +
 +===== Logging =====
 ==== LogFacility ====  ==== LogFacility ==== 
  
Line 43: Line 47:
   LogFacility=3   LogFacility=3
    
-Then, in ''/etc/syslog.conf'' you will need to add the line:+Then, in ''/etc/syslog.conf'' (or ''/etc/rsyslog.d/sbbslog.conf''you will need to add the line:
  
   local3.*                 /var/log/sbbs.log   local3.*                 /var/log/sbbs.log
Line 60: Line 64:
      
 Or it might be necessary to: Or it might be necessary to:
-  # /etc/init.d/syslogd restart+  # service syslogd restart
      
 You could then monitor the Synchronet daemon log output with: You could then monitor the Synchronet daemon log output with:
Line 101: Line 105:
  
 This is the value passed as the ''ident'' argument to the system's ''openlog'' function. Run ''man openlog'' for more details on this setting. This is the value passed as the ''ident'' argument to the system's ''openlog'' function. Run ''man openlog'' for more details on this setting.
 +
 +===== Process Control ===== 
  
 ==== PidFile ==== ==== PidFile ====
Line 132: Line 138:
 ===== See Also ===== ===== See Also =====
   * [[:config:|Configuration]]   * [[:config:|Configuration]]
 +  * [[:monitor:syslog]]
 +
  
 +{{tag>unix syslog sbbs.ini}}
config/nix.txt · Last modified: 2023/02/12 20:17 by digital man
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0