debian-syslog-ng/Makefile
Eliezer Croitoru f0ee0d70e0 1
2024-01-07 23:34:40 +00:00

26 lines
507 B
Makefile

all:
echo OK
install-dependencies:
bash 0001-install-deps.sh
install-syslog-ng:
bash 0010-install-syslog-ng.sh
configure-syslog-ng:
cp -vf net-hosts.conf /etc/syslog-ng/conf.d/net-hosts.conf
mkdir /var/log/remote -p
chown -Rv root:syslog /var/log/remote
systemctl reload syslog-ng
configure-logrotate:
cp -vf remote_logs /etc/logrotate.d/remote_logs
run-logrotate:
/usr/sbin/logrotate -v /etc/logrotate.d/remote_logs
force-logrotate:
/usr/sbin/logrotate -vf /etc/logrotate.d/remote_logs