rebuild systemd to use timers.target and BINDIR templates

This commit is contained in:
tengel 2024-03-20 09:32:36 -05:00
parent 12caa51fb5
commit 8843922cee
7 changed files with 33 additions and 82 deletions

18
systemd/petrified.timer Normal file
View file

@ -0,0 +1,18 @@
#
# /usr/lib/systemd/system/petrified.timer
#
# Note: Only one timer is needed if running multiple service
# units for multiple interfaces. No need to duplicate.
#
[Unit]
Description=Petrified update every 6 hours
[Timer]
Unit=petrified.service
OnActiveSec=0s
OnCalendar=0/6:00:00
Persistent=true
[Install]
WantedBy=timers.target