Projects
jsj
jsj-installtools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 72
View file
jsj-installtools.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Apr 2 11:31:06 UTC 2020 - Stefan Botter <obs@botter.cc> + +- PrepareUpdateCrontab rund zyper up every 4 hours +- PreparePostfix change root address and mx to botter.cc +- PrepareMysqlBackup require metamail + +------------------------------------------------------------------- Tue Jan 21 14:19:08 UTC 2020 - Stefan Botter <obs@botter.cc> - fix PrepareNagiosTests for case selection without entry (default)
View file
PrepareMysqlBackup
Changed
@@ -5,6 +5,9 @@ else rcmysql status fi +if ! -f /usr/bin/mimencode ; then + zypper -n in -l metamail +fi RET=$? if $RET != 0 ; then if ${VERSION_ID/./} -ge 120 ; then
View file
PreparePostfix
Changed
@@ -12,7 +12,7 @@ POSTCONF=$(mktemp /tmp/main.cf.XXXXXXXXXX) postconf -n | \ sed -e "s/\(myhostname = \).*$/\1$HOSTNAME.botter.cc/" \ - -e 's/\(relayhost =\).*$/\1 router.botter.cc/' \ + -e 's/\(relayhost =\).*$/\1 router1.botter.cc/' \ > $POSTCONF mv $POSTCONF /etc/postfix/main.cf chmod 644 /etc/postfix/main.cf
View file
PrepareUpdateCrontab
Changed
@@ -14,7 +14,7 @@ 44 0 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly EOF fi -( crontab -l; echo "$((0x$(head -c2 /dev/urandom | hexdump | awk '$2 > 0 {print $2}') % 60)) 5 * * * zypper -n up --auto-agree-with-licenses" ) | \ +( crontab -l; echo "$((0x$(head -c2 /dev/urandom | hexdump | awk '$2 > 0 {print $2}') % 60)) */4 * * * zypper -n up --auto-agree-with-licenses" ) | \ egrep -v "^#" | crontab - 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
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
.