Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
config:nix [2010/02/22 23:40] – created digitalman | config:nix [2023/02/12 20:17] (current) – [PidFile] Update the default value and description. digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== UNIX ====== | ====== UNIX ====== | ||
+ | |||
+ | Configuration of '' | ||
+ | |||
+ | ===== User/Group ===== | ||
+ | If you are **not** [[howto: | ||
+ | |||
+ | ==== User ==== | ||
+ | |||
+ | Default: < | ||
+ | |||
+ | ==== Group ==== | ||
+ | |||
+ | Default: < | ||
+ | |||
+ | If you do not want to run Synchronet (and all external programs/ | ||
+ | root (the Unix // | ||
+ | |||
+ | Example: | ||
+ | |||
+ | User=sbbsuser | ||
+ | Group=sbbsgroup | ||
+ | | ||
+ | NOTE: the '' | ||
+ | | ||
+ | Also, the Synchronet file | ||
+ | permissions/ | ||
+ | and write access to them. The best way to accomplish this is a command | ||
+ | like: | ||
+ | |||
+ | # chown -R sbbsuser: | ||
+ | |||
+ | If you do this, then be sure to run any Synchronet utilities (e.g. [[util: | ||
+ | | ||
+ | # su -c / | ||
+ | |||
+ | ===== Logging ===== | ||
+ | ==== LogFacility ==== | ||
+ | |||
+ | Default: '' | ||
+ | |||
+ | Supported Values: '' | ||
+ | |||
+ | If you have '' | ||
+ | via [[monitor: | ||
+ | |||
+ | LogFacility=3 | ||
+ | |||
+ | Then, in ''/ | ||
+ | |||
+ | local3.* | ||
+ | |||
+ | Depending on how your vendor set up '' | ||
+ | to exclude local3.* from other log files (Noteably ''/ | ||
+ | do this varies with your syslogd implementation, | ||
+ | (Which BSD and many Linux distros use) you would add "; | ||
+ | end of the first field in the ''/ | ||
+ | |||
+ | You will have to create this file manually initially by running: | ||
+ | # touch / | ||
+ | |||
+ | Then send a HUP to syslogd like so: | ||
+ | # killall -HUP syslogd | ||
+ | | ||
+ | Or it might be necessary to: | ||
+ | # service syslogd restart | ||
+ | | ||
+ | You could then monitor the Synchronet daemon log output with: | ||
+ | # tail -f / | ||
+ | |||
+ | You will want to investigate how your system rotates logs and set it up to | ||
+ | rotate '' | ||
+ | |||
+ | # cat / | ||
+ | / | ||
+ | weekly | ||
+ | missingok | ||
+ | rotate 52 | ||
+ | notifempty | ||
+ | create 640 root adm | ||
+ | sharedscripts | ||
+ | postrotate | ||
+ | invoke-rc.d rsyslog reload > /dev/null | ||
+ | endscript | ||
+ | } | ||
+ | |||
+ | |||
+ | Further use of the '' | ||
+ | Read your '' | ||
+ | do NOT use the ' | ||
+ | configuration. | ||
+ | of Synchronet as appropriate. | ||
+ | |||
+ | LOG_AUTH | ||
+ | LOG_DAEMON | ||
+ | LOG_FTP (If available) | ||
+ | LOG_MAIL | ||
+ | LOG_CRON | ||
+ | | ||
+ | Note: the LogFacility value in the '' | ||
+ | |||
+ | ==== LogIdent ==== | ||
+ | |||
+ | Default: '' | ||
+ | |||
+ | This is the value passed as the '' | ||
+ | |||
+ | ===== Process Control ===== | ||
+ | |||
+ | ==== PidFile ==== | ||
+ | |||
+ | Default: '' | ||
+ | |||
+ | This key contains the path of the file which will contain the process identifier (PID) of Synchronet and may be used by background/ | ||
+ | |||
+ | # service sbbs status | ||
+ | Synchronet BBS services status: [running] | ||
+ | PID(s): 6270 | ||
+ | |||
+ | If you change the value of this key, you may also need to modify your startup script (e.g. ''/ | ||
+ | |||
+ | ==== umask ==== | ||
+ | |||
+ | Default: '' | ||
+ | |||
+ | Sets '' | ||
+ | |||
+ | Note: If the value begins with a '' | ||
+ | |||
+ | Run '' | ||
+ | |||
+ | ==== Daemonize ==== | ||
+ | |||
+ | Default: '' | ||
+ | |||
+ | When set to '' | ||
===== See Also ===== | ===== See Also ===== | ||
* [[: | * [[: | ||
+ | * [[: | ||
+ | |||
+ | {{tag> |