c# - How to set recovery action for windows service -
i looking solution how set recovery action when service fails programmaticaly in c#. there 4 options under service | properties | recovery. default 1 "take no action". set "restart service" external program written in c#. can start/stop service program don't find anyway set recovery action ("restart service").
to run external program, select "run program" option , fill in details:
your c# program can restart service if happen.
wiki
Comments
Post a Comment