DotNetCore.WindowsService icon indicating copy to clipboard operation
DotNetCore.WindowsService copied to clipboard

[Feature] Setting recovery options on install

Open iamcarbon opened this issue 8 years ago • 2 comments

It would be useful to be able to set the recovery options when installing the service.

iamcarbon avatar Dec 18 '17 16:12 iamcarbon

Yeah why not. I've never looked at this before so it will need some digging but I'll give it a shot when I have a chance. It will take a little while though so anybody is free to pick this up

PeterKottas avatar Dec 18 '17 16:12 PeterKottas

The library used for interaction with the service management APIs has this feature in the current public version, surfaced as WithFailureAcitons on ServiceDefinitionBuilder (see a unit test config for an example).

dasMulli avatar Jan 25 '18 20:01 dasMulli