Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
653
Issues
653
List
Boards
Labels
Service Desk
Milestones
Merge Requests
217
Merge Requests
217
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
e732b8bc
Commit
e732b8bc
authored
Aug 18, 2009
by
Natanael Copa
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/chrony: add logrotate script
fixes
#82
parent
94dbf79b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
main/chrony/APKBUILD
main/chrony/APKBUILD
+4
-2
main/chrony/chrony.logrotate
main/chrony/chrony.logrotate
+11
-0
No files found.
main/chrony/APKBUILD
View file @
e732b8bc
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
chrony
pkgver
=
1.23
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
"NTP client and server programs"
url
=
"http://chrony.sunsite.dk/"
license
=
"GPL-2"
depends
=
depends
=
"logrotate"
makedepends
=
"texinfo"
subpackages
=
"
$pkgname
-doc"
source
=
"http://chrony.sunsite.dk/download/
$pkgname
-
$pkgver
.tar.gz
...
...
@@ -16,6 +16,7 @@ source="http://chrony.sunsite.dk/download/$pkgname-$pkgver.tar.gz
$pkgname
-1.23-reply-ip.diff
chronyd.confd
chronyd.initd
chrony.logrotate
chrony.conf
"
...
...
@@ -57,4 +58,5 @@ d47015a34b6b2f9eebca77ef939cec72 chrony-1.21-makefile.diff
caa6589a1a1cd56f64957e312d1ef84c chrony-1.23-reply-ip.diff
d5c09be46226774d22c08c5a4c28093a chronyd.confd
dac8aa4913d7c323abfa1719ddd7e5e4 chronyd.initd
468eaf2b5465d60b3ee021ce3f948ab1 chrony.logrotate
46f42c52953d398ca44d6baa449618d7 chrony.conf"
main/chrony/chrony.logrotate
0 → 100644
View file @
e732b8bc
/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
}
Christoffer Leitet
@cleitet
mentioned in issue
#82 (closed)
·
Jul 12, 2019
mentioned in issue
#82 (closed)
mentioned in issue #82
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment