Skip to content
Snippets Groups Projects
Commit b16bb550 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

New sample config files for rsyslogd and logrotate

parent 55b7e5b6
Branches
Tags
No related merge requests found
# Synchronet syslog file rotation configuration
# Assumes rsyslogd is configured to log sbbs syslog output to /var/log/sbbs.log
# Assumes user/group sbbs:sbbs has been created and is used to run sbbs
# Copy this file to /etc/logrotate.d/ and edit to suit
/var/log/sbbs.log {
weekly
maxsize 1G
missingok
rotate 10
notifempty
create 640 sbbs sbbs
maxage 90
}
# Synchronet syslog output control
# Assumes LogFaclity=3 in [UNIX] section of ctrl/sbbs.ini file
# Assumes sbbs is running as user/group: sbbs/sbbs
# Copy this file to /etc/rsyslog.d/ and edit to suit
$FileOwner sbbs
$FileGroup sbbs
local3.* /var/log/sbbs.log
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment