From: mhoellein Date: Tue, 26 Mar 2024 05:26:23 +0000 (+0100) Subject: daily autocommit X-Git-Url: https://git.hoellein.online/?a=commitdiff_plain;h=7ca7240a38497ac80d8c7f5f20bdf33078da99c7;p=vserver daily autocommit --- diff --git a/.etckeeper b/.etckeeper index b1f159a8b..ac8df2fa9 100755 --- a/.etckeeper +++ b/.etckeeper @@ -19663,6 +19663,8 @@ maybe chmod 0644 'systemd/system.conf' maybe chmod 0755 'systemd/system/clamav-daemon.service.d' maybe chmod 0644 'systemd/system/clamav-daemon.service.d/extend.conf' maybe chmod 0755 'systemd/system/default.target.wants' +maybe chmod 0644 'systemd/system/dovecot-cleanup.service' +maybe chmod 0644 'systemd/system/dovecot-cleanup.timer' maybe chmod 0755 'systemd/system/emergency.target.wants' maybe chmod 0755 'systemd/system/getty.target.wants' maybe chmod 0755 'systemd/system/graphical.target.wants' diff --git a/myssl/dh2048.pem b/myssl/dh2048.pem index b5182196b..c73ae9f8c 100644 --- a/myssl/dh2048.pem +++ b/myssl/dh2048.pem @@ -1,8 +1,8 @@ -----BEGIN DH PARAMETERS----- -MIIBCAKCAQEA18tnvg0eJlq3QI+t+lPsY0TDbno79yOeAXS9qU2FaJHuEWUrINPg -CvexR4+vagUgEKmLOwGx+2lQcGDyWgOnFY1Ea6fLRT0kRxUJ+iVmesHnWJMegCJb -VXBOiIXZqJSTs6G2gQQP03rm9XZ4Wxd6Br+oTudT/hQIwHM3SVu0V/qmxKNzgMyv -zeX/7p7cUn8vGli0vyd6URkBs6nkUjVfSB5PYGbvGTyvZ1PCTSSYVcJ9aRrh3K4A -YZBHA0NIvLyHgftKcVbK1ceiQc/HUt8LiH5Paxuf5ICTUWmSSp/0fK9wSw1AvjwH -K9oBeJssSdclHmBquyIE4stOQ5VuJtGXswIBAg== +MIIBCAKCAQEAndLmMN1spl0NZhMLV5dCZapmMdCkHWMzPo5YeQEUFhHlkQ1HTkVD +lCpFgnsTX+AFusjIrtGu+K4IYS9L7wbY+E2SEFO9KdHiKSyteDQJM6E/l1P2CFTC +cag9KJuD5Avvie2BZoGOgiqpcaZrQr5wrVugTXevjmeu0cwYEq5w0NaR1Hj3E/xI +vXFVCbs7k6ldOnNXw4icMlyX6VzZbWAsAlXilSenVXP/cprKJBHWaI0NKy0iwt0J ++p7gj14JJOa80rlwqavFzTPZcBsut7c01BXrYb+83ifdz/7otoRqA5ksLVhMd542 +B+YvCEEKyE1I1kOaTRcaIVxaGU+bScyYAwIBAg== -----END DH PARAMETERS----- diff --git a/systemd/system/dovecot-cleanup.service b/systemd/system/dovecot-cleanup.service new file mode 100644 index 000000000..4b911ab22 --- /dev/null +++ b/systemd/system/dovecot-cleanup.service @@ -0,0 +1,10 @@ +[Unit] +Description=Dovecot cleanup Service +Wants=network.target + +[Service] +Type=oneshot +ExecStart=/bin/sh -c '\ + for i in "Unsere Auswahl beli" "schaffe mit deinen" "24/7 für" "Aktuelle Prospekte" "100% sorglos" "100% gebührenfreie Kredi" "1 neue Benachrichtigung für Nex" DOWNTIMEEND DOWNTIMESTART PROBLEM RECOVERY Gutschein Haustier; do\ + /usr/bin/doveadm expunge -u mario@hoellein.online mailbox Papierkorb SUBJECT $$i;\ + done' diff --git a/systemd/system/dovecot-cleanup.timer b/systemd/system/dovecot-cleanup.timer new file mode 100644 index 000000000..8140fe99a --- /dev/null +++ b/systemd/system/dovecot-cleanup.timer @@ -0,0 +1,12 @@ +[Unit] +Description=Dovecot cleanup Service + +[Timer] +# config durch: man systemd.time +OnCalendar=daily +RandomizedDelaySec=6hours +Persistent=true + +[Install] +WantedBy=timers.target +