On Mon, Sep 12, 2016 at 09:13:26PM +0300, Федор Короткий wrote:
> Hi,
>
> We are trying to setup a service that runs every day from 10:00 to 18:45.
>
> Starting is not a problem, we just used timer. But our solution for
> stopping the service seems ugly. We have second service with
>
Hello!
How does your service work from 10:00 till 18:45 -- with any
interruption during this time-range, or constantly? I'm asking, because
I'm not sure if RuntimeMaxSec= directive
(https://www.freedesktop.org/software/systemd/man/systemd.service) is
acceptable here|.
|
So, you start your
Hi,
We are trying to setup a service that runs every day from 10:00 to 18:45.
Starting is not a problem, we just used timer. But our solution for
stopping the service seems ugly. We have second service with
Type=oneshot which runs "systemctl stop first.service" at 18.45(by
using second timer).