refactor(server): extract shared runtime and implement service install/run in arbiter-server.exe #44

Open
CleverWild wants to merge 6 commits from win-service into main
Showing only changes of commit f245a6575d - Show all commits

View File

@@ -58,7 +58,7 @@ pub fn install_service(args: ServiceInstallArgs) -> miette::Result<()> {
name: OsString::from(SERVICE_NAME),
display_name: OsString::from(SERVICE_DISPLAY_NAME),
service_type: ServiceType::OWN_PROCESS,
start_type: ServiceStartType::OnDemand,
start_type: ServiceStartType::AutoStart,
CleverWild marked this conversation as resolved Outdated

does this run service on pc boot?

does this run service on pc boot?

Nope. Wrong flag.

Nope. Wrong flag.
error_control: ServiceErrorControl::Normal,
executable_path: executable,
launch_arguments,