Projects
jsj
jsj-installtools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 63
View file
jsj-installtools.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Jul 12 07:45:53 UTC 2018 - obs@botter.cc + +- simplyfy logrotate.timer enablement from 13.2 on upwards, + without 42.1 and 42.2 + +------------------------------------------------------------------- Mon Mar 19 14:58:19 UTC 2018 - obs@botter.cc - for openSUSE Leap 42.3 enable logrotat.timer and set accuracy
View file
PrepareUpdateCrontab
Changed
@@ -16,11 +16,7 @@ fi ( crontab -l; echo "$((0x$(head -c2 /dev/urandom | hexdump | awk '$2 > 0 {print $2}') % 60)) 5 * * * zypper -n up --auto-agree-with-licenses" ) | \ egrep -v "^#" | crontab - -# 20161227: jsj right now only 132 has the logrotate timer -if ${VERSION_ID/./} -eq 132 ; then - systemctl enable logrotate.timer -fi -if ${VERSION_ID/./} -ge 423 ; then +if ${VERSION_ID/./} -eq 423 || (( ${VERSION_ID/./} -ge 132 && ${VERSION_ID/./} -lt 421 )) ; then sed -i -e '/^AccuracySec/ s/=.*$/=1min/' /usr/lib/systemd/system/logrotate.timer systemctl enable logrotate.timer systemctl start logrotate.timer
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.