win-service: enable auto startup

This commit is contained in:
plowsof 2023-01-02 05:18:48 +00:00 committed by wowario
parent f25a655cff
commit d0bacf4f77
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -196,7 +196,7 @@ bool install_service(
, 0
//, GENERIC_EXECUTE | GENERIC_READ
, SERVICE_WIN32_OWN_PROCESS
, SERVICE_DEMAND_START
, SERVICE_AUTO_START
, SERVICE_ERROR_NORMAL
, full_command.c_str()
, nullptr