add OnActiveSec to trigger immediate run when starting timer
This commit is contained in:
parent
488dbd00db
commit
4cb958ba48
2 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ Description=Petrified update every 6 hours
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
Unit=petrified.service
|
Unit=petrified.service
|
||||||
|
OnActiveSec=0s
|
||||||
OnCalendar=0/6:00:00
|
OnCalendar=0/6:00:00
|
||||||
Persistent=true
|
Persistent=true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ Description=Petrified update every 6 hours as %u
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
Unit=petrified.service
|
Unit=petrified.service
|
||||||
|
OnActiveSec=0s
|
||||||
OnCalendar=0/6:00:00
|
OnCalendar=0/6:00:00
|
||||||
Persistent=true
|
Persistent=true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue