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


