Skip to content
Snippets Groups Projects
Verified Commit a6674c27 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

patches: packages: syslog-ng fix logrotate access rights

parent 1bc6f43b
Branches
Tags
No related merge requests found
From 4853f2000fa85c4522897f60cbabfe793dc33cc6 Mon Sep 17 00:00:00 2001
From bf87ab2a424e428e04a8fdc6e24af78f1f5c6b67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
Date: Mon, 15 Apr 2019 15:31:04 +0200
Subject: [PATCH] syslong-ng: rotate default log with logrotate
......@@ -20,7 +20,7 @@ Signed-off-by: Karel Kočí <karel.koci@nic.cz>
create mode 100644 admin/syslog-ng/files/logrotate.conf
diff --git a/admin/syslog-ng/Makefile b/admin/syslog-ng/Makefile
index 98a743a74..401d33726 100644
index 68881e8..ac5c6ec 100644
--- a/admin/syslog-ng/Makefile
+++ b/admin/syslog-ng/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
......@@ -28,7 +28,7 @@ index 98a743a74..401d33726 100644
PKG_NAME:=syslog-ng
PKG_VERSION:=3.20.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
PKG_LICENSE:=LGPL-2.1+
......@@ -46,7 +46,7 @@ index 98a743a74..401d33726 100644
$(INSTALL_BIN) ./files/logread $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/etc/logrotate.d
+ $(INSTALL_BIN) ./files/logrotate.conf $(1)/etc/logrotate.d/syslog-ng.conf
+ $(INSTALL_DATA) ./files/logrotate.conf $(1)/etc/logrotate.d/syslog-ng.conf
endef
define Package/syslog-ng/postinst
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment