rebuild systemd to use timers.target and BINDIR templates
This commit is contained in:
parent
0c4aed99a2
commit
1e4bd9a0ce
7 changed files with 33 additions and 82 deletions
18
systemd/petrified.timer
Normal file
18
systemd/petrified.timer
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue