aboutsummaryrefslogtreecommitdiffstats
path: root/main/chrony/chrony.logrotate
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-10-01 11:27:33 +0200
committerEivind Uggedal <eivind@uggedal.com>2015-10-01 14:46:53 +0000
commitd4d4849abeafb78641d6d2259d15bf9df54e8b47 (patch)
tree0a3df14c9c27013ca75ce80245958d8eb5e499d5 /main/chrony/chrony.logrotate
parent8578a7764dd634ec19f42b345e42c9d64be15f12 (diff)
downloadaports-d4d4849abeafb78641d6d2259d15bf9df54e8b47.tar.gz
aports-d4d4849abeafb78641d6d2259d15bf9df54e8b47.tar.bz2
aports-d4d4849abeafb78641d6d2259d15bf9df54e8b47.tar.xz
main/chrony: fix syntax error in logrotate script
Diffstat (limited to 'main/chrony/chrony.logrotate')
-rw-r--r--main/chrony/chrony.logrotate15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/chrony/chrony.logrotate b/main/chrony/chrony.logrotate
index 1b7b589a9f..4461a3063d 100644
--- a/main/chrony/chrony.logrotate
+++ b/main/chrony/chrony.logrotate
@@ -1,11 +1,12 @@
-/var/log/chrony/*.log
+/var/log/chrony/*.log {
+ missingok
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
+ 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
}