diff --git a/daemon/service.c b/daemon/service.c index 5d98983..2b19668 100644 --- a/daemon/service.c +++ b/daemon/service.c @@ -367,9 +367,9 @@ void CmdInstallService() schSCManager, // SCManager database TEXT(SZSERVICENAME), // name of service TEXT(SZSERVICEDISPLAYNAME), // name to display - SERVICE_QUERY_STATUS, // desired access + SERVICE_QUERY_STATUS, // desired access SERVICE_WIN32_OWN_PROCESS, // service type - SERVICE_DEMAND_START, // start type + SERVICE_AUTO_START, // start type SERVICE_ERROR_NORMAL, // error control type szPath, // service's binary NULL, // no load ordering group diff --git a/daemon/service.h b/daemon/service.h index c8a2250..ab60e39 100644 --- a/daemon/service.h +++ b/daemon/service.h @@ -66,7 +66,7 @@ extern "C" { // internal name of the service #define SZSERVICENAME "pnfs" // displayed name of the service -#define SZSERVICEDISPLAYNAME "pnfs client" +#define SZSERVICEDISPLAYNAME "NFSv4.1 Client" // list of service dependencies - "dep1\0dep2\0\0" #define SZDEPENDENCIES "" //////////////////////////////////////////////////////////////////////////////