aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplowsof <plowsof@protonmail.com>2023-01-02 05:18:48 +0000
committerplowsof <plowsof@protonmail.com>2023-01-02 05:18:48 +0000
commite91f35e030cdd0752d7a73b257210962e7d8b180 (patch)
tree7a56f9728bfa847f96c455ebebae8bf439903331
parentMerge pull request #8635 (diff)
downloadmonero-e91f35e030cdd0752d7a73b257210962e7d8b180.tar.xz
win-service: enable auto startup
-rw-r--r--src/daemonizer/windows_service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemonizer/windows_service.cpp b/src/daemonizer/windows_service.cpp
index 846f6c071..5fcc469e9 100644
--- a/src/daemonizer/windows_service.cpp
+++ b/src/daemonizer/windows_service.cpp
@@ -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