Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:nix [2010/02/22 23:45] – digitalman | config:nix [2023/02/12 20:17] (current) – [PidFile] Update the default value and description. digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== UNIX ====== | ====== UNIX ====== | ||
- | ===== sbbs.ini | + | Configuration of '' |
- | Unix Sysops will particularly want to pay attention to the '' | + | ===== User/Group ===== |
+ | If you are **not** | ||
+ | |||
+ | ==== User ==== | ||
+ | |||
+ | Default: < | ||
+ | |||
+ | ==== Group ==== | ||
+ | |||
+ | Default: < | ||
If you do not want to run Synchronet (and all external programs/ | If you do not want to run Synchronet (and all external programs/ | ||
- | root, you will have to set the '' | + | root (the Unix // |
- | User=sbbsgroup | + | Example: |
- | Group=sbbsuser | + | |
- | Also, the file | + | User=sbbsuser |
- | permissions/ | + | Group=sbbsgroup |
+ | |||
+ | NOTE: the '' | ||
+ | |||
+ | Also, the Synchronet | ||
+ | permissions/ | ||
and write access to them. The best way to accomplish this is a command | and write access to them. The best way to accomplish this is a command | ||
like: | like: | ||
Line 18: | Line 31: | ||
# chown -R sbbsuser: | # chown -R sbbsuser: | ||
- | If you want Synchronet | + | If you do this, then be sure to run any Synchronet utilities (e.g. [[util: |
- | via syslog rather than the local console, set Daemonize=True in this section. Example: | + | |
+ | # su -c / | ||
- | Daemonize=True | + | ===== Logging ===== |
+ | ==== LogFacility ==== | ||
- | To configure syslog | + | Default: '' |
+ | |||
+ | Supported Values: '' | ||
+ | |||
+ | If you have '' | ||
+ | via [[monitor: | ||
LogFacility=3 | LogFacility=3 | ||
- | + | Then, in ''/ | |
- | Then, in ''/ | + | |
- | local3.* | + | local3.* |
Depending on how your vendor set up '' | Depending on how your vendor set up '' | ||
Line 39: | Line 58: | ||
You will have to create this file manually initially by running: | You will have to create this file manually initially by running: | ||
- | # touch /var/log/synchronet.log | + | # touch /var/log/sbbs.log |
Then send a HUP to syslogd like so: | Then send a HUP to syslogd like so: | ||
# killall -HUP syslogd | # 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 | You will want to investigate how your system rotates logs and set it up to | ||
- | rotate '' | + | 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 '' | Further use of the '' | ||
Line 58: | Line 97: | ||
LOG_MAIL | LOG_MAIL | ||
LOG_CRON | LOG_CRON | ||
+ | | ||
+ | Note: the LogFacility value in the '' | ||
- | === LogIdent === | + | ==== LogIdent ==== |
- | Default: Synchronet | + | |
- | === PidFile === | + | |
- | Default: ''/ | + | |
- | === umask === | + | |
- | Default: 077 | + | |
- | ===== Terminal Capabilities ===== | + | Default: '' |
- | As you may have noticed by now, most telnet clients designed for use with | + | This is the value passed as the '' |
- | ANSI BBSes do not display full-screen Unix programs correctly. Included with | + | |
- | Synchronet | + | |
- | to run native full-screen Unix programs and have the output displayed correctly | + | |
- | in a standard ANSI-BBS terminal. | + | |
- | located in your Synchronet install directory. Your system will use one or the | + | |
- | other, and it won't hurt to install both. You will need to be logged in as | + | |
- | root to install the files. | + | |
- | ==== Installing the terminfo file ==== | + | ===== Process Control ===== |
- | 1) Get the Synchronet ANSI-BBS terminfo file from: | + | ==== PidFile ==== |
- | http:// | + | |
- | 2) Enter the command ``tic terminfo'' | + | Default: '' |
- | ==== Installing | + | This key contains the path of the file which will contain the process identifier (PID) of Synchronet and may be used by background/ |
- | 1) Get the Synchronet | + | # service sbbs status |
- | http:// | + | |
- | 2) Enter the command ``cat termcap >> / | + | PID(s): 6270 |
- | 3) *** FreeBSD Only *** run the command: | + | |
- | # cap_mkdb -f / | + | |
- | Once the terminal capability files are installed, edit the '' | + | If you change |
- | value in the '' | + | |
- | ExternalTermANSI=ansi-bbs | + | |
- | Note: Once again, many Linux distros do not have a termcap. | + | ==== umask ==== |
- | You do NOT need to install the termcap-compat package. | + | |
- | isn't installed, it means nothing uses it. Only if there is a | + | |
- | termcap do you need to add the ansi-bbs termcap definition. | + | |
+ | Default: '' | ||
+ | |||
+ | Sets '' | ||
+ | |||
+ | Note: If the value begins with a '' | ||
+ | |||
+ | Run '' | ||
+ | |||
+ | ==== Daemonize ==== | ||
+ | |||
+ | Default: '' | ||
+ | |||
+ | When set to '' | ||
===== See Also ===== | ===== See Also ===== | ||
* [[: | * [[: | ||
+ | * [[: | ||
+ | |||
+ | {{tag> |