Difference between revisions of "Service Manager Scripting Variables"

Line 1: Line 1:
 
The following variables are available in the '''Before Started''', '''After Started''', '''Before Stopped''' and '''After Stopped''' events.
 
The following variables are available in the '''Before Started''', '''After Started''', '''Before Stopped''' and '''After Stopped''' events.
  
; Service_Affinity
+
; ThisService_Affinity
; Service_CommandLineArguments
+
; ThisService_CommandLineArguments
; Service_CustomPort1
+
; ThisService_CustomPort1
; Service_CustomPort2
+
; ThisService_CustomPort2
; Service_CustomPort3
+
; ThisService_CustomPort3
; Service_CustomPort4
+
; ThisService_CustomPort4
; Service_CustomPort5
+
; ThisService_CustomPort5
; Service_Description
+
; ThisService_Description
; Service_Executable
+
; ThisService_Executable
; Service_FriendlyName
+
; ThisService_FriendlyName
; Service_GamePort
+
; ThisService_GamePort
; Service_ServiceId
+
; ThisService_ServiceId
; Service_InteractWithDesktop
+
; ThisService_InteractWithDesktop
; Service_IpAddress
+
; ThisService_IpAddress
; Service_ManagedInput
+
; ThisService_ManagedInput
; Service_ManagedOutput
+
; ThisService_ManagedOutput
; Service_Owner
+
; ThisService_Owner
; Service_Priority
+
; ThisService_Priority
; Service_QueryPort
+
; ThisService_QueryPort
; Service_RConPort
+
; ThisService_RConPort
; Service_RootDirectory
+
; ThisService_RootDirectory
; Service_ServiceId
+
; ThisService_ServiceId
; Service_Slots
+
; ThisService_Slots
; Service_StartOnCPU0
+
; ThisService_StartOnCPU0
; Service_Startup
+
; ThisService_Startup
; Service_StopCommands
+
; ThisService_StopCommands
; Service_StopCommandWait
+
; ThisService_StopCommandWait
; Service_StopDelay
+
; ThisService_StopDelay
; Service_WorkingDirectory
+
; ThisService_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
+
; ThisService_Pid
 
: Id of the process that was started/stopped.
 
: Id of the process that was started/stopped.

Revision as of 00:08, 29 July 2016

The following variables are available in the Before Started, After Started, Before Stopped and After Stopped events.

ThisService_Affinity
ThisService_CommandLineArguments
ThisService_CustomPort1
ThisService_CustomPort2
ThisService_CustomPort3
ThisService_CustomPort4
ThisService_CustomPort5
ThisService_Description
ThisService_Executable
ThisService_FriendlyName
ThisService_GamePort
ThisService_ServiceId
ThisService_InteractWithDesktop
ThisService_IpAddress
ThisService_ManagedInput
ThisService_ManagedOutput
ThisService_Owner
ThisService_Priority
ThisService_QueryPort
ThisService_RConPort
ThisService_RootDirectory
ThisService_ServiceId
ThisService_Slots
ThisService_StartOnCPU0
ThisService_Startup
ThisService_StopCommands
ThisService_StopCommandWait
ThisService_StopDelay
ThisService_WorkingDirectory


The following variables are available in the After Started, Before Stopped and After Stopped events.

ThisService_Pid
Id of the process that was started/stopped.
Retrieved from "https://help.tcadmin.com/index.php?title=Service_Manager_Scripting_Variables&oldid=1315"