Update files for matrix-coturn: make the reloading schedule configurable with variables

This commit adopts the common format which can be seen for BorgBackup. It should be probably helpful, though I am not quite sure how much.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara
2025-02-01 15:34:46 +09:00
parent c03140c825
commit 6531c61c7a
3 changed files with 20 additions and 2 deletions

View File

@ -3,8 +3,8 @@ Description=Reloads matrix-coturn periodically so that new SSL certificates can
[Timer]
Unit=matrix-coturn-reload.service
OnCalendar=*-*-* 06:30:00
RandomizedDelaySec=1h
OnCalendar={{ matrix_coturn_reload_schedule }}
RandomizedDelaySec={{ matrix_coturn_reload_schedule_randomized_delay_sec }}
[Install]
WantedBy=timers.target