added systemctl resources to run this as a systemd timer
also logging is now deferred to journalctl so forget about logrotate
+++ /dev/null
-/var/log/renew_reminder {
- weekly
- missingok
- notifempty
- create 0640 root root
-
-}
-
--- /dev/null
+[Unit]
+Description=designed to be run on a daily basis, this notifies users when one of their slices will expire within 5 days
+
+[Service]
+ExecStart=/usr/bin/python3 /etc/support-scripts/renew-reminder.py
--- /dev/null
+[Unit]
+Description=Runs renew-reminder.py on a daily basis
+
+[Timer]
+OnUnitActiveSec=1d
+Unit=renew-reminder.service
+
+[Install]
+WantedBy=multi-user.target