aboutsummaryrefslogtreecommitdiff
path: root/system/rsyslog/README.SLACKWARE
blob: b4bdd4ae4d5d3db1677e2197331dcbc5ee2009fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
README.SLACKWARE for rsyslog

The package contains the /etc/rc.d/rc.rsyslogd init script which will
start rsyslogd.

Since rsyslog basically supersedes the klogd/syslogd daemons, the stock
Slackware sysklogd package should be removed and its leftovers cleaned up:

  1. Remove useless logrotate configuration:

     rm /etc/logrotate.d/syslog

  2. Make rsyslog start automatically on boot, without modifications to rc.M:

     cd /etc/rc.d && ln -sf rc.rsyslogd rc.syslog
     cd /usr/sbin && ln -sf rsyslogd syslogd

To make the transition even easier, you will find /etc/rsyslog.conf in the
proper format, which was converted from sysklogd's syslog.conf.

/etc/rc.d/rc.rsyslogd is written to emulate syslogd.  To prevent rc.inet1
from attempting to run rc.syslog again, rc.syslogd will copy/remove the
/var/run/syslogd.pid file on successful start/stop invocations.