Service Manager Scripting Variables
The following variables are available in the Before Started, After Started, Before Stopped and After Stopped events.
- Service_Affinity
- Service_CommandLineArguments
- Service_CustomPort1
- Service_CustomPort2
- Service_CustomPort3
- Service_CustomPort4
- Service_CustomPort5
- Service_Description
- Service_Executable
- Service_FriendlyName
- Service_GamePort
- Service_ServiceId
- Service_InteractWithDesktop
- Service_IpAddress
- Service_ManagedInput
- Service_ManagedOutput
- Service_Owner
- Service_Priority
- Service_QueryPort
- Service_RConPort
- Service_RootDirectory
- Service_ServiceId
- Service_StartOnCPU0
- Service_Startup
- Service_StopCommands
- Service_StopCommandWait
- Service_StopDelay
- Service_WorkingDirectory
The following variables are available in the After Started, Before Stopped and After Stopped events.
- Service_Pid
- Id of the process that was stopped.