Skip to content
New issue

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

ServerApplication has no pidfile option on windows #4559

Closed
1 task
aleks-f opened this issue May 17, 2024 · 0 comments · Fixed by #4567
Closed
1 task

ServerApplication has no pidfile option on windows #4559

aleks-f opened this issue May 17, 2024 · 0 comments · Fixed by #4567
Assignees
Labels

Comments

@aleks-f
Copy link
Member

aleks-f commented May 17, 2024

  • Add /pidfile option on Windows

options.addOption(
Option("registerService"s, ""s, "Register the application as a service."s)
.required(false)
.repeatable(false)
.callback(OptionCallback<ServerApplication>(this, &ServerApplication::handleRegisterService)));
options.addOption(
Option("unregisterService"s, ""s, "Unregister the application as a service."s)
.required(false)
.repeatable(false)
.callback(OptionCallback<ServerApplication>(this, &ServerApplication::handleUnregisterService)));
options.addOption(
Option("displayName"s, ""s, "Specify a display name for the service (only with /registerService)."s)
.required(false)
.repeatable(false)
.argument("name"s)
.callback(OptionCallback<ServerApplication>(this, &ServerApplication::handleDisplayName)));
options.addOption(
Option("description"s, ""s, "Specify a description for the service (only with /registerService)."s)
.required(false)
.repeatable(false)
.argument("text"s)
.callback(OptionCallback<ServerApplication>(this, &ServerApplication::handleDescription)));
options.addOption(
Option("startup"s, ""s, "Specify the startup mode for the service (only with /registerService)."s)
.required(false)
.repeatable(false)
.argument("automatic|manual"s)
.callback(OptionCallback<ServerApplication>(this, &ServerApplication::handleStartup)));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants