Verified Commit ba9a77b8 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Remove email notifications for cleanup job

The emails where not delivered to anyway nor do they continue useful
information. Log output is now viewable in journalctl and some hardening
is applied.
parent 97afb671
Pipeline #275 passed with stage
in 49 seconds
......@@ -4,10 +4,9 @@ Description=Cleanup
[Service]
Type=oneshot
User=cleanup
ExecStart=/usr/bin/bash -c '/srv/repos/svn-community/dbscripts/cron-jobs/ftpdir-cleanup 2>&1 | /srv/repos/svn-community/dbscripts/cron-jobs/devlist-mailer "Community Cleanup" "arch-notifications@archlinux.org"'
ExecStart=/usr/bin/bash -c '/srv/repos/svn-packages/dbscripts/cron-jobs/ftpdir-cleanup 2>&1 | /srv/repos/svn-packages/dbscripts/cron-jobs/devlist-mailer "Packages Cleanup" "arch-notifications@archlinux.org"'
ExecStart=/usr/bin/bash -c '/srv/repos/svn-community/dbscripts/cron-jobs/ftpdir-cleanup'
ExecStart=/usr/bin/bash -c '/srv/repos/svn-packages/dbscripts/cron-jobs/ftpdir-cleanup'
# FIXME: This breaks mail sending. Need to switch to SMTP based sending such as msmtp instead of sendmail/mail
#NoNewPrivileges=true
NoNewPrivileges=true
ProtectHome=true
PrivateTmp=true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment