1

I use OnUnitActive property which will run each N secods using last activation time of service as starting point, but i want it always run once when timer started and use 'OnUnitActive' property after.

How can i force this behavior?

1 Answer 1

2

Add an extra directive OnActiveSec=0s to the [Timer] stanza.

The systemd maintainer explains how this works.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .