--- embedaddon/smartmontools/os_win32/daemon_win32.cpp 2013/07/22 01:17:36 1.1.1.2 +++ embedaddon/smartmontools/os_win32/daemon_win32.cpp 2013/10/14 07:54:04 1.1.1.3 @@ -20,7 +20,7 @@ #include "daemon_win32.h" -const char * daemon_win32_cpp_cvsid = "$Id: daemon_win32.cpp,v 1.1.1.2 2013/07/22 01:17:36 misho Exp $" +const char * daemon_win32_cpp_cvsid = "$Id: daemon_win32.cpp,v 1.1.1.3 2013/10/14 07:54:04 misho Exp $" DAEMON_WIN32_H_CVSID; #include @@ -987,7 +987,7 @@ static int svcadm_main(const char * ident, const daemo if (!(hs = CreateService(hm, svc_opts->svcname, svc_opts->dispname, SERVICE_ALL_ACCESS, - SERVICE_WIN32_OWN_PROCESS|SERVICE_INTERACTIVE_PROCESS, + SERVICE_WIN32_OWN_PROCESS, SERVICE_AUTO_START, SERVICE_ERROR_NORMAL, path, NULL/*no load ordering*/, NULL/*no tag id*/, ""/*no depedencies*/, NULL/*local system account*/, NULL/*no pw*/))) {