Difference between revisions of "Service Manager Scripting Variables"

Line 3: Line 3:
 
; Service_Affinity
 
; Service_Affinity
 
; Service_CommandLineArguments
 
; Service_CommandLineArguments
 +
; Service_CustomPort1
 +
; Service_CustomPort2
 +
; Service_CustomPort3
 +
; Service_CustomPort4
 +
; Service_CustomPort5
 
; Service_Description
 
; Service_Description
 
; Service_Executable
 
; Service_Executable
Line 24: Line 29:
 
; Service_StopDelay
 
; Service_StopDelay
 
; Service_WorkingDirectory
 
; Service_WorkingDirectory
 +
  
 
The following variables are available in the '''After Started''', '''Before Stopped''' and '''After Stopped''' events.
 
The following variables are available in the '''After Started''', '''Before Stopped''' and '''After Stopped''' events.
 
; Service_Pid
 
; Service_Pid
 
: Id of the process that was stopped.
 
: Id of the process that was stopped.

Revision as of 18:57, 4 May 2014

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.
Retrieved from "https://help.tcadmin.com/index.php?title=Service_Manager_Scripting_Variables&oldid=1141"