defaults differ on debian vs slackware, it’s better to keep those – this is just a clean-up
mv -i syslog.conf syslog.conf.dist
grep -vE '^#|^$' syslog.conf.dist > syslog.conf.clean
grep -vE '^#|^$' syslog.conf.dist > syslog.conf
for both debian and slackware
vi /etc/default/syslogd SYSLOGD_OPTS="-s -m0" # -4 -n -T
systemctl daemon-reload
systemctl list-unit-files | grep syslogd
systemctl enable syslogd --now
systemctl status syslogd
ls -lF /etc/rc.d/rc.syslog /etc/rc.d/rc.syslog restart
vi /etc/rc.local echo -n sysklogd ... /usr/local/sbin/syslogd -s -m0 && echo done
status
pgrep -a syslogd
stop
pkill syslogd
for some other purpose e.g. without -s, we are listening!
SYSLOGD_OPTS="-4 -m0 -c -b 0.0.0.0:5140"
https://man.troglobit.com/man8/syslogd.8.html
https://man.troglobit.com/man5/syslog.conf.5.html
https://wiki.gentoo.org/wiki/Sysklogd