Re: [systemd-devel] systemd default target

2016-02-15 Thread Lennart Poettering
On Sat, 13.02.16 14:34, Pathangi Janardhanan (path.j...@gmail.com) wrote: > Hi, > > I have some services configured with the above, Restart=on-failure and > StartLimitInterval/StartLimitBurst and also StartLimitAction with reboot. > > The problem I am trying to look at is, how to get out of a

Re: [systemd-devel] systemd default target

2016-02-13 Thread Kai Krakow
Am Sat, 13 Feb 2016 14:34:59 -0800 schrieb Pathangi Janardhanan : > Hi, > > I have some services configured with the above, Restart=on-failure > and StartLimitInterval/StartLimitBurst and also StartLimitAction with > reboot. > > The problem I am trying to look at is, how to get out of a contin

Re: [systemd-devel] systemd default target

2016-02-13 Thread Pathangi Janardhanan
Hi, I have some services configured with the above, Restart=on-failure and StartLimitInterval/StartLimitBurst and also StartLimitAction with reboot. The problem I am trying to look at is, how to get out of a continuous reboot cycle, if one of the services is failing. That is why I was looking f

Re: [systemd-devel] systemd default target

2016-02-13 Thread Lennart Poettering
On Fri, 12.02.16 20:58, Pathangi Janardhanan (path.j...@gmail.com) wrote: > Hi All, > > The default target is usually set to multi-user or someother equivalent > target. Is there any way in systemd that I can say something like > > " If the system is reloaded n number of times within the last x

[systemd-devel] systemd default target

2016-02-12 Thread Pathangi Janardhanan
Hi All, The default target is usually set to multi-user or someother equivalent target. Is there any way in systemd that I can say something like " If the system is reloaded n number of times within the last x second", than set the default target to recover or emergency mode etc.? Basically I