Commit graph

12 commits

Author SHA1 Message Date
774978026d Big updates to {mirror,sbosrcharch}-wrapper scripts. 2026-05-30 14:43:27 +01:00
3eae23d1a8 Slight adjustment to the sg call. 2026-05-24 00:25:36 +01:00
578eb90e69 Move where umask is used. 2026-05-23 23:51:18 +01:00
ccbfd96242 Various changes to mirror-wrapper.
* Introduce a test to make sure the script is being run by the correct user.
* Do all testing before locking.
* Drop disk caches before starting work.
* Check for files with the wrong owner/group before doing a sync.
* Run the mirror script with the configured group as primary.
2026-05-23 23:45:16 +01:00
82d3b7fccb Increase minimum log file size. 2026-05-22 16:02:52 +01:00
862d73b03a Don't run the *-wrapper scripts as root. 2026-05-22 13:41:48 +01:00
041ebf1b1a Many small updates to various scripts.
deleted:    cronjob-update-packages-list.new
deleted:    cronjob-updatedb-mirrors
renamed:    rsync-notify-upload -> notify-rsync-upload
modified:   colour-changelog
modified:   cronjob-clean-php
modified:   cronjob-dehydrated
modified:   cronjob-fix-log-acls
modified:   cronjob-rotate-logs-today-symlink
modified:   cronjob-update-mirrors-search-db
modified:   cronjob-update-packages-list
modified:   cronjob-warn-git-status
modified:   cronjob-warn-smtp-queue
modified:   do-backup
modified:   dovecot-service-checksuspended
modified:   firewall-initscript
modified:   git-auto-merge
modified:   mirror
modified:   mirror-new-slackware-release.gpg
modified:   mirror-wrapper
modified:   notify-rsync-upload
modified:   sbosrcarch-wrapper
2026-05-22 00:27:36 +01:00
2eb0c75bdc In mirror-wrapper, compress the logs /after/ they are emailed. 2026-05-21 19:30:34 +01:00
be4d10eeba Don't emit an error when there's no email sender and/or recipient. 2026-05-21 19:23:48 +01:00
51131002cf Update version. 2026-05-21 19:21:23 +01:00
554548db72 Update the mirror-wrapper script. 2026-05-21 19:19:41 +01:00
725fd3eeb8 Add mirror script. 2026-05-21 17:44:16 +01:00
Renamed from do-mirroring (Browse further)