Likewise Service Manager
PLW_SERVICE_INFO Struct Reference

Service information. More...

#include <lwsm/lwsm.h>

Data Fields

LW_PWSTR pwszName
 Service short name.
 
LW_PWSTR pwszDescription
 Service description.
 
LW_SERVICE_TYPE type
 Service type.
 
LW_PWSTR pwszPath
 Path to service executable or module.
 
LW_PWSTR * ppwszArgs
 Arguments to service when started.
 
LW_PWSTR * ppwszEnv
 Environment variables with which to start the service.
 
LW_PWSTR * ppwszDependencies
 Names of services on which this service depends.
 
LW_PWSTR pwszGroup
 Name of service group.
 
LW_BOOLEAN bAutostart
 Is this service automatically started?
 
LW_DWORD dwFdLimit
 Desired file descriptor limit for the process.
 
LW_SM_LOGGER_TYPE DefaultLogType
 Default log type.
 
LW_PWSTR pDefaultLogTarget
 Default log target.
 
LW_SM_LOG_LEVEL DefaultLogLevel
 Default log level.
 
LW_DWORD dwCoreSize
 Core dump size limit.
 

Detailed Description

Describes the basic information about a service, such as its path, command line arguments, etc.