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:
parent
599b43761d
commit
59f71a707e
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 ""
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue