aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2023-02-06 12:33:03 -0500
committerluigi1111 <luigi1111w@gmail.com>2023-02-06 12:33:03 -0500
commit2521f0e2387092b141c5525523d49762f64d6c0a (patch)
tree85ff2a47e99fb9b2edb05b27e7a59e90ec3059ed /src
parentMerge pull request #8693 (diff)
parentwin-service: enable auto startup (diff)
downloadmonero-2521f0e2387092b141c5525523d49762f64d6c0a.tar.xz
Merge pull request #8697
e91f35e win-service: enable auto startup (plowsof)
Diffstat (limited to 'src')
-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