Re: [systemd-devel] timed events

2012-07-09 Thread Lennart Poettering
On Fri, 29.06.12 10:49, Nathan (qwerty@gmail.com) wrote: > Hello, > > I have built systemd version 26 for red hat enterprise 6.2. It works well. > > I am trying to replace a half broken init system/service management > system we have running which was built in-house (and all the developers >

Re: [systemd-devel] timed events

2012-06-30 Thread Kay Sievers
On Fri, Jun 29, 2012 at 4:31 AM, Kok, Auke-jan H wrote: > On Fri, Jun 29, 2012 at 12:49 AM, Nathan wrote: >> Looking at the systemd.timer documentation it seems as though all >> the timers are relative. Is there any way to get absolute timers >> relative to real time (cron like functionality - e

Re: [systemd-devel] timed events

2012-06-30 Thread Alexander E. Patrakov
2012/6/29 David Strauss : > Having a timer-based service start/stop bgpd.service works fine. I > just wanted to offer a dependency-based take. Thanks. Both suggestions are strictly better than the paper note based solution, and your reply does prove that nothing needs to be changed in systemd to

Re: [systemd-devel] timed events

2012-06-29 Thread David Strauss
On Thu, Jun 28, 2012 at 11:01 PM, Alexander E. Patrakov wrote: > So the logic, as I understand it, should be as follows: run bgpd if > the administrator has not prohibited this due to maintenance or > similar reasons, and the periodically-executed (?) dead-man's-switch > script doesn't say that bg

Re: [systemd-devel] timed events

2012-06-28 Thread Kok, Auke-jan H
On Thu, Jun 28, 2012 at 11:01 PM, Alexander E. Patrakov wrote: > 2012/6/29 Kok, Auke-jan H : >> On Fri, Jun 29, 2012 at 12:49 AM, Nathan wrote: >>> Another issue (though slightly related) is we have an external binary >>> that when run will return 0 or 1 depending if we should run a service >>> i

Re: [systemd-devel] timed events

2012-06-28 Thread Alexander E. Patrakov
2012/6/29 Kok, Auke-jan H : > On Fri, Jun 29, 2012 at 12:49 AM, Nathan wrote: >> Another issue (though slightly related) is we have an external binary >> that when run will return 0 or 1 depending if we should run a service >> is there a way to run this command in the service_name.service and star

Re: [systemd-devel] timed events

2012-06-28 Thread Kok, Auke-jan H
On Fri, Jun 29, 2012 at 12:49 AM, Nathan wrote: > Hello, > > I have built systemd version 26 for red hat enterprise 6.2. It works well. > > I am trying to replace a half broken init system/service management > system we have running which was built in-house (and all the developers > have left) > >

[systemd-devel] timed events

2012-06-28 Thread Nathan
Hello, I have built systemd version 26 for red hat enterprise 6.2. It works well. I am trying to replace a half broken init system/service management system we have running which was built in-house (and all the developers have left) I am even managing some daemons of my own with it successfully