Re: Cemtos 7 : Systemd alternatives ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 07/09/2014 03:03 PM, Mauricio Tavares wrote:
> Since I missed most of the story, can you specify that it is ok for 
> this program to restart whenever it crashes, but this one you will 
> stop restarting after N crashes (N<=0) and then report?
While I am certainly not an expert with systemd, it appears that you 
have a more generic mechanism than that in the OnFailure directive in 
the unit files.  So you can basically do any sort of thing on a unit 
failure, including restart or start a different unit or whatever.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux