Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

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
config:nix [2015/05/17 21:25] – [LogFacility] jbbsconfig:nix [2023/02/12 20:17] (current) – [PidFile] Update the default value and description. 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 ====
  
-Default: ''/var/run/sbbs.pid''+Default: ''sbbs.pid''
  
-This key contains the path of the file which will contain the process identifier (PID) of Synchronet and is used by background/daemon startup scripts to query the current state of ''sbbs''.+This key contains the path of the file which will contain the process identifier (PID) of Synchronet and may be used by background/daemon startup scripts to query the current state of ''sbbs''. When no path is specified, the file (e.g. ''sbbs.pid'') will be created in the Synchronet ''[[dir:ctrl]]'' directory.
  
   # service sbbs status   # service sbbs status
Line 132: Line 138:
 ===== See Also ===== ===== See Also =====
   * [[:config:|Configuration]]   * [[:config:|Configuration]]
 +  * [[:monitor:syslog]]
 +
  
 +{{tag>configuration unix operating_system}}