haproxy: Log to syslog and install logrotate script

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-10-22 21:47:05 +02:00
parent 699f0aa710
commit c5494ad098
4 changed files with 17 additions and 0 deletions

View File

@@ -98,5 +98,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
#install initscripts
$(call INSTALL_INITSCRIPT,haproxy)
# Logrotate
-mkdir -pv /etc/logrotate.d
install -v -m 644 $(DIR_SRC)/config/haproxy/logrotate \
/etc/logrotate.d/haproxy
@rm -rf $(DIR_APP)
@$(POSTBUILD)