matrix-docker-ansible-deploy/roles
Slavi Pantaleev e1690722f7 Replace cronjobs with systemd timers
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/756

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/737

I feel like timers are somewhat more complicated and dirty (compared to
cronjobs), but they come with these benefits:

- log output goes to journald
- on newer systemd distros, you can see when the timer fired, when it
will fire, etc.
- we don't need to rely on cron (reducing our dependencies to just
systemd + Docker)

Cronjobs work well, but it's one more dependency that needs to be
installed. We were even asking people to install it manually
(in `docs/prerequisites.md`), which could have gone unnoticed.

Once in a while someone says "my SSL certificates didn't renew"
and it's likely because they forgot to install a cron daemon.

Switching to systemd timers means that installation is simpler
and more unified.
2021-01-14 23:35:50 +02:00
..
matrix-aux Add matrix-aux role to help with managing auxiliary files/directories 2021-01-11 22:32:52 +02:00
matrix-base Replace cronjobs with systemd timers 2021-01-14 23:35:50 +02:00
matrix-bot-matrix-reminder-bot Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-appservice-discord Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-appservice-irc Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-appservice-slack Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-appservice-webhooks Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mautrix-facebook Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mautrix-hangouts Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mautrix-signal Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mautrix-telegram Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mautrix-whatsapp Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mx-puppet-discord Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mx-puppet-instagram Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mx-puppet-skype Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mx-puppet-slack Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mx-puppet-steam Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-mx-puppet-twitter Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-bridge-sms Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-client-element Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-common-after/tasks Replace cronjobs with systemd timers 2021-01-14 23:35:50 +02:00
matrix-corporal Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-coturn Replace cronjobs with systemd timers 2021-01-14 23:35:50 +02:00
matrix-dimension Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-dynamic-dns Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-email2matrix Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-jitsi Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-ma1sd Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-mailer Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-nginx-proxy Replace cronjobs with systemd timers 2021-01-14 23:35:50 +02:00
matrix-postgres Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-registration Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-synapse Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00
matrix-synapse-admin Add .service suffix to systemd units list 2021-01-14 23:02:10 +02:00