We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should remember to publish guidance about making the exit code from the topshelf app right be returning, in fact I had this:
private static readonly TopshelfExitCode[] OkStatuses = new[] { TopshelfExitCode.Ok, TopshelfExitCode.ServiceAlreadyInstalled, TopshelfExitCode.ServiceAlreadyRunning, TopshelfExitCode.ServiceNotInstalled };
...
static int Main() { ... var exitCode = HostFactory.Run(x => { ... }; return OkStatuses.Contains(exitCode) ? 0 : (int)exitCode; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We should remember to publish guidance about making the exit code from the topshelf app right be returning, in fact I had this:
...
The text was updated successfully, but these errors were encountered: