From 77b08748cd056c9e6950d7a27016164c8a5671d5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Jan 2019 18:05:48 +0100 Subject: provide logrotate configuration --- unit.logrotate | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 unit.logrotate (limited to 'unit.logrotate') diff --git a/unit.logrotate b/unit.logrotate new file mode 100644 index 0000000..a8340a9 --- /dev/null +++ b/unit.logrotate @@ -0,0 +1,8 @@ +/var/log/unit/*.log { + missingok + nocreate + notifempty + postrotate + /bin/kill -SIGUSR1 `cat /var/run/unit/unit.pid` + endscript +} -- cgit