2
0
Fork 0

sh.zio.znc.update-cert: add script and services

This commit is contained in:
Astra 2023-10-09 19:41:47 +00:00
parent 4113e0a446
commit c952be0c12
4 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,6 @@
[Unit]
Description=Updates the ZNC certificate weekly
[Service]
ExecStart=/usr/local/bin/sh.zio.znc.update-cert
Type=oneshot

View file

@ -0,0 +1,11 @@
[Unit]
Description=Updates the ZNC certificate weekly
[Timer]
OnCalendar=weekly
Unit=sh.zio.znc.update-cert.service
AccuracySec=1h
Persistent=true
[Install]
WantedBy=timers.target