Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/chrony: chrony doesn't log to /var/log/chrony by default

From: Sören Tempel <soeren_at_soeren-tempel.net>
Date: Mon, 28 Sep 2015 14:47:16 +0200

On 22.09.15, Sören Tempel wrote:
> diff --git a/main/chrony/chrony.logrotate b/main/chrony/chrony.logrotate
> deleted file mode 100644
> index 1b7b589..0000000
> --- a/main/chrony/chrony.logrotate
> +++ /dev/null
> _at_@ -1,11 +0,0 @@
> -/var/log/chrony/*.log
> - sharedscripts
> - postrotate
> - PASSWORD=`awk '$1 ~ /^1$/ {print $2; exit}' /etc/chrony/chrony.keys`
> - cat << EOF | /usr/bin/chronyc | sed '/^200 OK$/d'
> - password $PASSWORD
> - cyclelogs
> - EOF
> - endscript
> -}

Thinking about this again I do believe that it would be probably better
to fix the logrotate script instead of removing it…

Sören.


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Sep 28 2015 - 14:47:16 GMT