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 have

Re: [systemd-devel] timed events

2012-06-30 Thread Alexander E. Patrakov
2012/6/29 David Strauss da...@davidstrauss.net: snip suggestions 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

Re: [systemd-devel] timed events

2012-06-30 Thread Kay Sievers
On Fri, Jun 29, 2012 at 4:31 AM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Fri, Jun 29, 2012 at 12:49 AM, Nathan qwerty@gmail.com 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

Re: [systemd-devel] timed events

2012-06-29 Thread Alexander E. Patrakov
2012/6/29 Kok, Auke-jan H auke-jan.h@intel.com: On Fri, Jun 29, 2012 at 12:49 AM, Nathan qwerty@gmail.com 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

Re: [systemd-devel] timed events

2012-06-29 Thread Kok, Auke-jan H
On Thu, Jun 28, 2012 at 11:01 PM, Alexander E. Patrakov patra...@gmail.com wrote: 2012/6/29 Kok, Auke-jan H auke-jan.h@intel.com: On Fri, Jun 29, 2012 at 12:49 AM, Nathan qwerty@gmail.com wrote: Another issue (though slightly related) is we have an external binary that when run will

Re: [systemd-devel] timed events

2012-06-29 Thread David Strauss
On Thu, Jun 28, 2012 at 11:01 PM, Alexander E. Patrakov patra...@gmail.com 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

Re: [systemd-devel] timed events

2012-06-28 Thread Kok, Auke-jan H
On Fri, Jun 29, 2012 at 12:49 AM, 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