Re: [systemd-devel] Emulate two cron tab entries to start/stop service unit natively?

2016-08-20 Thread Che
On Fri, Aug 19, 2016 at 11:03 AM, Lennart Poettering wrote: ... However, systemd > does not support natively to stop services by timer, currently. This > means for the "systemctl stop" part you always have to explicitly > invoke it. Does it make sense to implement this

Re: [systemd-devel] Emulate two cron tab entries to start/stop service unit natively?

2016-08-19 Thread Lennart Poettering
On Mon, 01.08.16 23:59, John (da_audioph...@yahoo.com) wrote: > Is it possible to use a systemd timer unit to start and stop a > service unit according to set times of the day? In my case, > openvpn.service is a forking type if that matters. I can do this > using cron, but am wondering if/how to

Re: [systemd-devel] Emulate two cron tab entries to start/stop service unit natively?

2016-08-02 Thread John
> > From: Kai Krakow <hurikha...@gmail.com> >To: systemd-devel@lists.freedesktop.org >Sent: Tuesday, August 2, 2016 6:38 AM >Subject: Re: [systemd-devel] Emulate two cron tab entries to start/stop >service unit natively? > >

Re: [systemd-devel] Emulate two cron tab entries to start/stop service unit natively?

2016-08-02 Thread Kai Krakow
Am Mon, 1 Aug 2016 23:59:13 + (UTC) schrieb John : > Is it possible to use a systemd timer unit to start and stop a > service unit according to set times of the day? In my case, > openvpn.service is a forking type if that matters. I can do this > using cron, but am

[systemd-devel] Emulate two cron tab entries to start/stop service unit natively?

2016-08-01 Thread John
Is it possible to use a systemd timer unit to start and stop a service unit according to set times of the day? In my case, openvpn.service is a forking type if that matters. I can do this using cron, but am wondering if/how to do it with systemd natively. In cron terms, one could do this like