-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
- Add
/pidfile
option on Windows
poco/Util/src/ServerApplication.cpp
Lines 363 to 394 in 4552df2
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))); |
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done