diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-21 12:19:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-21 12:19:09 +0000 |
commit | e1fb9123c2a6493f73a1f94fef7fbd0636ccd1e8 (patch) | |
tree | a13cdeb6321570d548e909b39ccf7325c535491c /win | |
parent | c1a2a8abca5430a41d145de5c7a7521fe3f3fae5 (diff) |
change startup type from SERVICE_DEMAND_START to SERVICE_AUTO_START so that inspircd boots with the system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10196 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win')
-rw-r--r-- | win/win32service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/win32service.cpp b/win/win32service.cpp index 0eb9d0c1a..b6bca46b2 100644 --- a/win/win32service.cpp +++ b/win/win32service.cpp @@ -183,7 +183,7 @@ void InstallService(void) }
myService = CreateService(scm,"InspIRCd","Inspire IRC Daemon", SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS,
- SERVICE_DEMAND_START, SERVICE_ERROR_NORMAL, modname, 0, 0, 0, NULL, NULL);
+ SERVICE_AUTO_START, SERVICE_ERROR_NORMAL, modname, 0, 0, 0, NULL, NULL);
if (!myService)
{
|