rebuild systemd to use timers.target and BINDIR templates

This commit is contained in:
tengel 2017-11-19 10:09:19 -06:00
parent 0c4aed99a2
commit 1e4bd9a0ce
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