service: start automatically on boot

rename service from "pnfs client" to "NFSv4.1 Client" to match installer

Signed-off-by: Casey Bodley <cbodley@gmail.com>
This commit is contained in:
Casey Bodley 2013-07-09 10:38:00 -04:00
parent 599b43761d
commit 59f71a707e
2 changed files with 3 additions and 3 deletions

View file

@ -367,9 +367,9 @@ void CmdInstallService()
schSCManager, // SCManager database schSCManager, // SCManager database
TEXT(SZSERVICENAME), // name of service TEXT(SZSERVICENAME), // name of service
TEXT(SZSERVICEDISPLAYNAME), // name to display TEXT(SZSERVICEDISPLAYNAME), // name to display
SERVICE_QUERY_STATUS, // desired access SERVICE_QUERY_STATUS, // desired access
SERVICE_WIN32_OWN_PROCESS, // service type SERVICE_WIN32_OWN_PROCESS, // service type
SERVICE_DEMAND_START, // start type SERVICE_AUTO_START, // start type
SERVICE_ERROR_NORMAL, // error control type SERVICE_ERROR_NORMAL, // error control type
szPath, // service's binary szPath, // service's binary
NULL, // no load ordering group NULL, // no load ordering group

View file

@ -66,7 +66,7 @@ extern "C" {
// internal name of the service // internal name of the service
#define SZSERVICENAME "pnfs" #define SZSERVICENAME "pnfs"
// displayed name of the service // displayed name of the service
#define SZSERVICEDISPLAYNAME "pnfs client" #define SZSERVICEDISPLAYNAME "NFSv4.1 Client"
// list of service dependencies - "dep1\0dep2\0\0" // list of service dependencies - "dep1\0dep2\0\0"
#define SZDEPENDENCIES "" #define SZDEPENDENCIES ""
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////