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 [2016/11/19 03:35] – [See Also] digital manconfig: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 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 135: Line 141:
  
  
-{{tag>unix syslog sbbs.ini}}+{{tag>configuration unix operating_system}}
config/nix.1479555313.txt · Last modified: 2016/11/19 03:35 by digital man
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0