[systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

Jamie Kitson jamie at kitten-x.com
Wed Apr 20 12:52:39 UTC 2016


Hi,

I want to start and stop a systemd.service at specific times. Presumably
I will use a .timer unit to start the job, but is there a built in way
to stop the job after a specific duration, or at a specific time, or do
I have to create a second .timer unit that execs the stop? What is the
standard/"correct" way to do this?

Thanks, Jamie


More information about the systemd-devel mailing list