packages/admin/syslog-ng/files
Sergey Ponomarev 641ec2b644 syslog-ng: alternative for logread
When the syslog-ng installed it records all messages to /var/log/messages.
This makes the default OpenWrt's ubox /sbin/logread useless and return nothing.

The logread script was added to the syslog-ng as a shim.
It's based on `tail /var/log/messages` and repeats basic options that the ubox logread have.
The script is installed instead of the /sbin/logread and this is causes an error.

Instead install it to /usr/libexec/logread.sh and specify as an alternative /sbin/logread.

The ubox logread also needs to be made as alternative in /usr/libexec/logread-ubox.

So we need to give it a separate name.
The most simple and clear would be logread-shell or just logread.sh.

Suggested-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-11-24 11:10:10 +01:00
..
scl/network_localhost syslog-ng: tweak shell code of network_localhost little bit 2020-09-13 11:29:43 +02:00
logread.sh syslog-ng: alternative for logread 2024-11-24 11:10:10 +01:00
syslog-ng.conf syslog-ng: update to version 4.7.1 2024-04-26 13:41:49 +02:00
syslog-ng.init syslog-ng: restore service "reload" to actually working 2020-05-06 10:38:43 -06:00
syslog-ng.logrotate syslog-ng: fix OOM issues by adding support for logrotate 2022-08-26 16:57:00 +02:00