FME Flow: 2024.2

processMonitorConfigCore.txt

#########################################
# Process Monitor Config File Parameters.
#########################################
#
# The Process Monitor program is started from the command line and takes one argument.
# This argument is the pathname of the configuration parameter file.
#
# Configuration parameters are used to set various operating characteristics
# of the Process Monitor. Values for these parameters are read in from this file
# when the Process Monitor is started. This configuration parameter file is an
# ASCII text file containing one parameter assignment on each line. Each
# assignment consists of a parameter name followed by an equal-sign followed
# by the parameter's value.
#
# For example, the line:
#
# NODE_ADMIN_PORT=7501
#
# assigns the "NODE_ADMIN_PORT" parameter a value of "7501".
#
# The Process Monitor is case-sensitive to parameter names. Blank lines and lines
# beginning with the "#" character are treated as comments and are ignored.
#
# Changes to any parameter value in this file will take effect only upon
# subsequent restart of the Process Monitor.
#
# The following parameters must be present in the config file and named exactly
# as shown:
#
#--------------------------------------
# Log File
#--------------------------------------
#
# LOG_CONFIG_PATH - The folder path that contains the log file configuration.
#
# LOG_FILE_NAME - The path name of the message log file.
#
#--------------------------------------
# Node Management
#--------------------------------------
#
# NODE_ADMIN_PORT - TCP/IP port number on which to listen for requests
#
# NODE_NAME - The name used by this FME Server node to identify itself. If no value is assigned, the node takes
# the host name of the system on which it is running.
#
# NODE_DESCRIPTION - The string used by this FME Server node to describe itself. If no value is assigned, the node's
# description is the empty string.
#
# NODE_HOST - The host name of the system on which it is running.
#
# NODE_ENGINE_ADMIN_PORT - The Engine administration port used to manage ENGINE processes.
#
# NODE_OVERWRITE - If "true" then process configurations specified in this file will always overwrite those
# already specified in the database. If "false" or missing, the process configurations will
# only be added when the node hasn't already been added part of deployment.
#
# FME Engines can be added or removed from nodes. New Engine process configurations are defined by
# Engine templates which specify the START, STOP and PARAMS commands.
#
# TEMPLATE_START_ENGINE=<startcommand>
# TEMPLATE_STOP_ENGINE=<stopcommand>
# TEMPLATE_PARAMS_ENGINE=<optionalparams>
#
# To prevent duplications, process configurations may reference Engine template start commands as
# macros by wrapping parameters with ! characters.
#
# For example:
# START_ENGINE_Engine1=!TEMPLATE_START_ENGINE!
# STOP_ENGINE_Engine1=!TEMPLATE_STOP_ENGINE!
# PARAMS_ENGINE_Engine1=!TEMPLATE_PARAMS_ENGINE!
#
# Process Configuration
# ---------------------
#
# The next parameters are those that define the actual commands that the Process Monitor should
# start in a separate process and monitor. The format for these command parameters is:
#
# START_<processtype>_<processname>=<startcommand>
# STOP_<processtype>_<processname>=<stopcommand>
# PARAMS_<processtype>_<processname>=[log=<boolean>]|[attempts=<integer>]|[norestart=<integer>]|[wait=<integer>]|[continual=<integer>]
#
# Where <processtype> has one of the following syntaxes:
#
# ENGINE - An FME Engine process
# SYSTEM - A FME System process
#
# Where <procesname> is the unique name of the process.
#
# Here is an example START command:
#
# START_ENGINE_Engine1=/FMEFlow/Server/fme/fme.exe REGISTER_FME_ENGINE JIM 7070
#
# When the Process Monitor encounters this parameter, it starts a new FME Engine process, runs the
# command string in the process and monitors the process for termination.
# If/when the process terminates, the Process Monitor creates another process and re-runs the same command
# string again. The Process Monitor continues this behaviour until it reaches its restart attempt limit.
#
# STOP
#
# Each process START command can have an optional STOP parameter defining a
# custom stop command which will be run to shut down the process.
# For example:
#
# START_SYSTEM_Core=...
# STOP_SYSTEM_Core=...
#
# PARAMS
#
# Each process START command can also have an optional parameters. Parameters are delimited by |.
# For example:
#
# PARAMS_SYSTEM_Core=log=true|attempts=20|wait=0|continual=60
#
# Optional Parameters:
#
# "log"
#
# If "true" the process output generated by the command will be logged to the message log file. If "false",
# its process output is not logged to the log file. If missing, SYSTEM processes will default to "false"
# while ENGINE processes will default to "true".
#
# When process output is logged, each output line will be prefixed by the command's <processname> string.
# This helps to identify which process command generated each output line.
#
#
# For example the following would explicitly enable process output logging for this ENGINE configuration
# and the resulting outlines from this process would be prefixed by "Engine1":
#
# START_ENGINE_Engine1=/FMEFlow/Server/fme/fme.exe REGISTER_FME_ENGINE JIM 7070
# PARAMS_ENGINE_Engine1=log=true
#
# "norestart"
#
# The status value returned to the Process Monitor by the monitored process when the latter
# terminates. If a start command string specifies a value for this parameter, then
# if the monitored process terminates and returns the specified status value to
# the Process Monitor, the latter WILL NOT restart the terminated process. If
# this parameter is absent, or it is present but the terminating process
# returns a status value different from the specified value, the Process Monitor
# WILL restart the terminated process. If this parameter value is present but specifies an
# invalid integer value, the Process Monitor ignores any return values from the process.
#
# "attempts"
#
# The number of times the Process Monitor will attempt to start the process to be monitored. If the maximum
# value is reached the Process Monitor will give up attempting to start the process. If this flag
# is absent or is present and specifies a value <= 0, the process will have no limit to the number of
# times it is restarted. If this suffix flag is present and specifies an invalid integer value then
# the default start attempt limit value of 20 is used.
#
# Here is an example start command line using the "norestart" parameter (specifying a return status value of 27),
# the "log" parameter and the "attempts" parameter described above:
#
# START_ENGINE_Engine1=/FMEFlow/Server/fme/fme REGISTER_FME_ENGINE JIM 7070
# PARAMS_ENGINE_Engine1=log=true|norestart=27|attempts=20
#
# "continual"
#
# The number of seconds the Process Monitor will wait before attempting to start the process to be monitored.
# If this suffix flag is present and specified a value >= 0, the process will be restarted continually with
# a delay of <n> seconds between restart attempts. If this suffix flag is absent or is present and specifies
# a value <= -1, the process will not be continually restarted. Note: The delay to <n> seconds will start at
# 1 second and increase 1 second with each delay till it reaches a delay of <n> seconds upon which it will
# continue to have a delay of <n> seconds.
#
# "wait"
#
# For each process the Process Monitor interprets the wait period specified by
# the "wait" parameter in one of two ways:
#
# 1) Monitor Port Directive is Present
#
# If the -MONITOR_PORT directive is present in the process START command line,
# the wait period represents the maximum number of seconds the Process Monitor
# will wait for the monitored process to signal (via the monitor port) that it has
# successfully started.
#
# If the signal is received before the wait period expires, the Process Monitor
# immediately proceeds to start the next process.
#
# If the signal has not been received by the time the wait period expires, the
# Process Monitor stops waiting at that point and proceeds to start the next
# process.
#
# If the process fails to start after reaching its startup attempt limit
# (as specified by the "attempts" suffix flag), the Process Monitor
# immediately proceeds to start the next process, even if the wait period
# has not yet expired.
#
# To cause the Process Monitor to wait indefinitely for the start signal, specify
# a WAIT value of zero.
#
#
# 2) Monitor Port Directive is Absent
#
# If the -MONITOR_PORT directive is absent from the process START command line,
# the wait period represents the number of seconds the Process Monitor waits before
# continuing on to start the next process.
#
# If the process fails to start after reaching its startup attempt limit
# (as specified by the "attempts" suffix flag), the Process Monitor
# immediately proceeds to start the next process, even if the wait period
# has not yet expired.
#
# Specifying a waut value of zero causes the Process Monitor to immediately start
# the next process without waiting.
#
#
# In both of the above cases 1) and 2), if no "wait" parameter is specified for a
# process, the Process Monitor uses the default time value (in seconds) of zero.
#
# Processes that support the optional "MONITOR_PORT" directive" can include the
# following in their START command:
#
# -MONITOR_PORT <portNum>
#
# This directive specifies the TCP/IP port on which the Process Monitor listens for a
# startup completed message from the process. Upon successful startup completion the process
# should connect to this port and send the message string "STARTED". No further communication occurs.
#
# If the directive specifies a <portNum> value of zero then a free port number is dynamically
# determined by the Process Monitor at runtime. This is the usual case. If the <portNum> value is specified as
# non-zero and positive then that literal port number is used.
#
# If the process does not implement the monitor port capability then the
# directive should be omitted from the command string.
#
#--------------------------------------------------------------------------
FME_INCLUDE_FILE={{getv "/installdir"}}/Server/fmeCommonConfig.txt
 
#--------------------------------------------------------------------------
# Log File
#--------------------------------------------------------------------------
LOG_CONFIG_PATH={{getv "/installdir"}}/Server/config/logger/core
LOG_FILE_NAME={{getv "/logprefix" ""}}fmeprocessmonitorcore.log
 
#--------------------------------------------------------------------------
# Admin
#--------------------------------------------------------------------------
NODE_ADMIN_PORT={{getv "/processmonitoradminportcore" "7501"}}
 
# Start FME Server Queue
{{ if eq (getenv "OS") "Windows_NT" }}{{getv "/queuecomment" ""}}START_SYSTEM_Queue="{{getv "/installdir"}}/Utilities/memurai/memurai.exe" "{{getv "/installdir"}}/Utilities/memurai/memurai.conf" {{ else }}{{getv "/queuecomment" ""}}START_SYSTEM_Queue="{{getv "/installdir"}}/Utilities/redis/bin/redis-server" "{{getv "/installdir"}}/Utilities/redis/redis.conf"{{ end }}
{{ if eq (getenv "OS") "Windows_NT" }}{{getv "/queuecomment" ""}}STOP_SYSTEM_Queue="{{getv "/installdir"}}/Utilities/memurai/memurai-cli.exe" -p {{getv "/memuraiport" "6379"}} -a {{getv "/memuraipassword" "sozPpbLfgdI9WJoPejNMpSxGw"}} shutdown {{ else }}{{getv "/queuecomment" ""}}STOP_SYSTEM_Queue="{{getv "/installdir"}}/Utilities/redis/bin/redis-cli" -p {{getv "/redisport" "6379"}} -a {{getv "/redispassword" "sozPpbLfgdI9WJoPejNMpSxGw"}} shutdown {{ end }}
 
# Start FME Server Notifier
{{getv "/servercomment" ""}}START_SYSTEM_Notifier="{{if exists "/notifierjava"}}{{getv "/notifierjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMENotifier.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/notifierdebug" ""}} -Djava.library.path="{{ if eq (getenv "OS") "Windows_NT" }}{{getv "/installdir"}}/Server/lib/fmeutil{{else}}{{getv "/installdir"}}/Server/lib/fmeutil/fmecore{{end}}" -Djava.security.manager -Djava.security.policy="{{getv "/installdir"}}/Server/security/fmeserver.policy" -Djava.security.auth.login.config="{{getv "/installdir"}}/Server/security/fmeserver.config" -Djava.net.preferIPv4Stack=true {{ if not (eq (getenv "OS") "Windows_NT") }}-Djava.security.egd=file:/dev/./urandom{{ end }} {{getv "/javatnsnames" ""}} -Xms32m -Xmx512m COM.safe.fmeserver.FMEServerNotifier "{{getv "/installdir"}}/Server/fmeFlowConfig.txt" -MONITOR_PORT 0
{{getv "/servercomment" ""}}STOP_SYSTEM_Notifier="{{if exists "/notifierjava"}}{{getv "/notifierjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMENotifier.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" -Djava.net.preferIPv4Stack=true COM.safe.fmeserver.FMEServerShutdownAgent -fmeServerHost {{getv "/corehostname" "localhost"}} -fmeServerAdminPort {{getv "/notifierrequestport" "7072"}}
 
# Start Connection
{{getv "/servercomment" ""}}START_SYSTEM_Connection="{{if exists "/connectionjava"}}{{getv "/connectionjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEConnection.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/connectiondebug" ""}} -Djava.library.path="{{ if eq (getenv "OS") "Windows_NT" }}{{getv "/installdir"}}/Server/lib/fmeutil{{else}}{{getv "/installdir"}}/Server/lib/fmeutil/fmecore{{end}}" -Djava.security.manager -Djava.security.policy="{{getv "/installdir"}}/Server/security/fmeserver.policy" -Djava.security.auth.login.config="{{getv "/installdir"}}/Server/security/fmeserver.config" -Djava.net.preferIPv4Stack=true {{ if not (eq (getenv "OS") "Windows_NT") }}-Djava.security.egd=file:/dev/./urandom{{ end }} {{getv "/javatnsnames" ""}} -Xms32m -Xmx1024m COM.safe.fmeserver.FMEServerConnection "{{getv "/installdir"}}/Server/fmeFlowConfig.txt"
{{getv "/servercomment" ""}}STOP_SYSTEM_Connection="{{if exists "/connectionjava"}}{{getv "/connectionjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEConnection.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" -Djava.net.preferIPv4Stack=true COM.safe.fmeserver.FMEServerShutdownAgent -fmeServerHost {{getv "/corehostname" "localhost"}} -fmeServerAdminPort {{getv "/connectionrequestport" "7069"}}
 
# Start FME Server Core
{{getv "/servercomment" ""}}START_SYSTEM_Core="{{if exists "/serverjava"}}{{getv "/serverjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEFlow.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/coredebug" ""}} -Djava.library.path="{{ if eq (getenv "OS") "Windows_NT" }}{{getv "/installdir"}}/Server/lib/fmeutil{{else}}{{getv "/installdir"}}/Server/lib/fmeutil/fmecore{{end}}" -Djava.security.manager -Djava.security.policy="{{getv "/installdir"}}/Server/security/fmeserver.policy" -Djava.security.auth.login.config="{{getv "/installdir"}}/Server/security/fmeserver.config" -Djava.net.preferIPv4Stack=true {{ if not (eq (getenv "OS") "Windows_NT") }}-Djava.security.egd=file:/dev/./urandom{{ end }} {{getv "/javatnsnames" ""}} -Xms32m -Xmx1024m -Dpolyglot.js.nashorn-compat=true -Dpolyglot.engine.WarnInterpreterOnly=false COM.safe.fmeserver.FMEServer "{{getv "/installdir"}}/Server/fmeFlowConfig.txt" -MONITOR_PORT 0
{{getv "/servercomment" ""}}STOP_SYSTEM_Core="{{if exists "/serverjava"}}{{getv "/serverjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEFlow.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" -Djava.net.preferIPv4Stack=true COM.safe.fmeserver.FMEServerShutdownAgent -fmeServerHost {{getv "/corehostname" "localhost"}} -fmeServerAdminPort {{getv "/fmeflowrequestport" "7071"}}
 
# Start FME Server Scheduler
{{getv "/servercomment" ""}}START_SYSTEM_Scheduler="{{if exists "/schedulerjava"}}{{getv "/schedulerjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEScheduler.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/schedulerdebug" ""}} -Djava.library.path="{{ if eq (getenv "OS") "Windows_NT" }}{{getv "/installdir"}}/Server/lib/fmeutil{{else}}{{getv "/installdir"}}/Server/lib/fmeutil/fmecore{{end}}" -Djava.security.manager -Djava.security.policy="{{getv "/installdir"}}/Server/security/fmeserver.policy" -Djava.security.auth.login.config="{{getv "/installdir"}}/Server/security/fmeserver.config" -Djava.net.preferIPv4Stack=true {{ if not (eq (getenv "OS") "Windows_NT") }}-Djava.security.egd=file:/dev/./urandom{{ end }} {{getv "/javatnsnames" ""}} -Xms32m -Xmx512m COM.safe.fmeserver.FMEServerScheduler "{{getv "/installdir"}}/Server/fmeFlowConfig.txt"
{{getv "/servercomment" ""}}STOP_SYSTEM_Scheduler="{{if exists "/schedulerjava"}}{{getv "/schedulerjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEScheduler.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" -Djava.net.preferIPv4Stack=true COM.safe.fmeserver.FMEServerShutdownAgent -fmeServerHost {{getv "/corehostname" "localhost"}} -fmeServerAdminPort {{getv "/schedulerport" "7073"}}
 
# Start FME Server WebSocket
{{if exists "/websocketcomment"}}{{getv "/websocketcomment" ""}}{{else}}{{ if not (eq (getenv "OS") "Windows_NT") }}#{{end}}{{end}}{{getv "/servercomment" ""}}START_SYSTEM_WebSocket="{{if exists "/websocketjava"}}{{getv "/websocketjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEWebSocket.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/websocketdebug" ""}} -Djava.security.manager -Djava.security.policy="{{getv "/installdir"}}/Server/security/fmeserver.policy" -Djava.security.auth.login.config="{{getv "/installdir"}}/Server/security/fmeserver.config" -Djava.net.preferIPv4Stack=true {{ if not (eq (getenv "OS") "Windows_NT") }}-Djava.security.egd=file:/dev/./urandom{{ end }} {{getv "/javatnsnames" ""}} -Xms32m -Xmx512m COM.safe.fmeserver.FMEServerWebSocket "{{getv "/installdir"}}/Server/fmeWebSocketConfig.txt"
 
# Start FME Server Shared Resource
{{getv "/servercomment" ""}}START_SYSTEM_SharedResource="{{if exists "/mountpointjava"}}{{getv "/mountpointjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEMountPoint.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/sharedresourcedebug" ""}} -Djava.library.path="{{ if eq (getenv "OS") "Windows_NT" }}{{getv "/installdir"}}/Server/lib/fmeutil{{else}}{{getv "/installdir"}}/Server/lib/fmeutil/fmecore{{end}}" -Djava.security.manager -Djava.security.policy="{{getv "/installdir"}}/Server/security/fmeserver.policy" -Djava.security.auth.login.config="{{getv "/installdir"}}/Server/security/fmeserver.config" -Djava.net.preferIPv4Stack=true {{ if not (eq (getenv "OS") "Windows_NT") }}-Djava.security.egd=file:/dev/./urandom{{ end }} {{getv "/javatnsnames" ""}} -Xms32m -Xmx512m COM.safe.fmeserver.FMEServerSharedResource "{{getv "/installdir"}}/Server/fmeFlowConfig.txt"
{{getv "/servercomment" ""}}STOP_SYSTEM_SharedResource="{{if exists "/mountpointjava"}}{{getv "/mountpointjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEMountPoint.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" -Djava.net.preferIPv4Stack=true COM.safe.fmeserver.FMEServerShutdownAgent -fmeServerHost {{getv "/corehostname" "localhost"}} -fmeServerAdminPort {{getv "/mountpointrequestport" "7079"}}
 
## Subscribers processes require the following naming convention Subscriber_<protocol>
# Start FME Server Subscriber Plugin (email)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_email="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/emailsubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginEmail "{{getv "/installdir"}}/Server/config/subscribers/email.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_email=norestart=0
 
# Start FME Server Subscriber Plugin (logger)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_logger="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/loggersubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginLogger "{{getv "/installdir"}}/Server/config/subscribers/logger.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_logger=norestart=0
 
# Start FME Server Subscriber Plugin (httprequest)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_httprequest="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/httprequestsubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginHTTPRequest "{{getv "/installdir"}}/Server/config/subscribers/httprequest.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_httprequest=norestart=0
 
# Start FME Server Subscriber Plugin (dropbox)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_dropbox="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/dropboxsubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginDropbox "{{getv "/installdir"}}/Server/config/subscribers/dropbox.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_dropbox=norestart=0
 
# Start FME Server Subscriber Plugin (ftp)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_ftp="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/ftpsubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginFTP "{{getv "/installdir"}}/Server/config/subscribers/ftp.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_ftp=norestart=0
 
# Start FME Server Subscriber Plugin (jms)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_jms="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/jms/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/jmssubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginJMS "{{getv "/installdir"}}/Server/config/subscribers/jms.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_jms=norestart=0
 
# Start FME Server Subscriber Plugin (sns)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_sns="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/snssubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginSNS "{{getv "/installdir"}}/Server/config/subscribers/sns.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_sns=norestart=0
 
# Start FME Server Subscriber Plugin (websocket)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_websocket="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/websocketsubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginWebSocket "{{getv "/installdir"}}/Server/config/subscribers/websocket.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_websocket=norestart=0
 
# Start FME Server Subscriber Plugin (sftp)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_sftp="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/sftpsubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginSFTP "{{getv "/installdir"}}/Server/config/subscribers/sftp.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_sftp=norestart=0
 
# Start FME Server Subscriber Plugin (s3)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_s3="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/s3subscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginS3 "{{getv "/installdir"}}/Server/config/subscribers/s3.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_s3=norestart=0
 
# Start FME Server Subscriber Plugin (sqs)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_sqs="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/sqssubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginSQS "{{getv "/installdir"}}/Server/config/subscribers/sqs.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_sqs=norestart=0
 
# Start FME Server Subscriber Plugin (workspace)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_workspace="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/workspacesubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginWorkspace "{{getv "/installdir"}}/Server/config/subscribers/workspace.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_workspace=norestart=0
 
# Start FME Server Subscriber Plugin (eventgrid)
{{getv "/servercomment" ""}}START_SYSTEM_Subscriber_eventgrid="{{if exists "/subscriberjava"}}{{getv "/subscriberjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMESubscriber.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/eventgridsubscriberdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.notification.plugin.FMESubscriberPluginEventGrid "{{getv "/installdir"}}/Server/config/subscribers/eventgrid.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Subscriber_eventgrid=norestart=0
 
# Start FME Server Relayer
{{getv "/servercomment" ""}}START_SYSTEM_Relayer="{{if exists "/relayerjava"}}{{getv "/relayerjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMERelayer.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/relayerdebug" ""}} -Djava.library.path="{{ if eq (getenv "OS") "Windows_NT" }}{{getv "/installdir"}}/Server/lib/fmeutil{{else}}{{getv "/installdir"}}/Server/lib/fmeutil/fmecore{{end}}" -Djava.security.manager -Djava.security.policy="{{getv "/installdir"}}/Server/security/fmeserver.policy" -Djava.security.auth.login.config="{{getv "/installdir"}}/Server/security/fmeserver.config" -Djava.net.preferIPv4Stack=true {{ if not (eq (getenv "OS") "Windows_NT") }}-Djava.security.egd=file:/dev/./urandom{{ end }} {{getv "/javatnsnames" ""}} -Xms32m -Xmx512m COM.safe.fmeserver.FMEServerRelayer "{{getv "/installdir"}}/Server/fmeFlowConfig.txt" -MONITOR_PORT 0
{{getv "/servercomment" ""}}STOP_SYSTEM_Relayer="{{if exists "/relayerjava"}}{{getv "/relayerjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMERelayer.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" -Djava.net.preferIPv4Stack=true COM.safe.fmeserver.FMEServerShutdownAgent -fmeServerHost {{getv "/corehostname" "localhost"}} -fmeServerAdminPort {{getv "/relayerrequestport" "7075"}}
 
## Publishers processes require the following naming convention Publisher_<protocol>
# Start FME Server Publisher Plugin (email)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_email="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/emailpublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginEmail "{{getv "/installdir"}}/Server/config/publishers/email.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_email=norestart=0
 
# Start FME Server Publisher Plugin (udp)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_udp="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/udppublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginUDP "{{getv "/installdir"}}/Server/config/publishers/udp.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_udp=norestart=0
 
# Start FME Server Publisher Plugin (jms)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_jms="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/jms/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/jmspublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginJMS "{{getv "/installdir"}}/Server/config/publishers/jms.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_jms=norestart=0
 
# Start FME Server Publisher Plugin (websocket)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_websocket="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/jms/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/websocketpublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginWebSocket "{{getv "/installdir"}}/Server/config/publishers/websocket.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_websocket=norestart=0
 
# Start FME Server Publisher Plugin (sns)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_sns="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/snspublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginSNS "{{getv "/installdir"}}/Server/config/publishers/sns.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_sns=norestart=0
 
# Start FME Server Publisher Plugin (dirwatch)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_dirwatch="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/dirwatchpublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginDirWatch "{{getv "/installdir"}}/Server/config/publishers/dirwatch.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_dirwatch=norestart=0
 
# Start FME Server Publisher Plugin (ftpwatch)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_ftpwatch="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/ftpwatchpublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginFTPWatch "{{getv "/installdir"}}/Server/config/publishers/ftpwatch.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_ftpwatch=norestart=0
 
# Start FME Server Publisher Plugin (dropboxwatch)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_dropboxwatch="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/dropboxwatchpublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginDropboxWatch "{{getv "/installdir"}}/Server/config/publishers/dropboxwatch.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_dropboxwatch=norestart=0
 
# Start FME Server Publisher Plugin (sqs)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_sqs="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/sqspublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginSQS "{{getv "/installdir"}}/Server/config/publishers/sqs.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_sqs=norestart=0
 
# Start FME Server Publisher Plugin (imap)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_imap="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/imappublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m -Dmail.imaps.fetchsize=1048576 COM.safe.fmeserver.relay.plugin.FMEPublisherPluginIMAP "{{getv "/installdir"}}/Server/config/publishers/imap.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_imap=norestart=0
 
# Start FME Server Publisher Plugin (s3watch)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_s3watch="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/s3watchpublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginS3Watch "{{getv "/installdir"}}/Server/config/publishers/s3watch.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_s3watch=norestart=0
 
# Start FME Server Publisher Plugin (eventgrid)
{{getv "/servercomment" ""}}START_SYSTEM_Publisher_eventgrid="{{if exists "/publisherjava"}}{{getv "/publisherjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEPublisher.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/eventgridpublisherdebug" ""}} -Djava.net.preferIPv4Stack=true {{getv "/javatnsnames" ""}} -Xms32m -Xmx256m COM.safe.fmeserver.relay.plugin.FMEPublisherPluginEventGrid "{{getv "/installdir"}}/Server/config/publishers/eventgrid.properties"
{{getv "/servercomment" ""}}PARAMS_SYSTEM_Publisher_eventgrid=norestart=0
 
# Start FME Server Configuration
{{getv "/servercomment" ""}}START_SYSTEM_Configuration="{{if exists "/fmeconfigjava"}}{{getv "/fmeconfigjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEConfiguration.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/fmeconfigdebug" ""}} -Djava.library.path="{{ if eq (getenv "OS") "Windows_NT" }}{{getv "/installdir"}}/Server/lib/fmeutil{{else}}{{getv "/installdir"}}/Server/lib/fmeutil/fmecore{{end}}" -Djava.security.manager -Djava.security.policy="{{getv "/installdir"}}/Server/security/fmeserver.policy" -Djava.security.auth.login.config="{{getv "/installdir"}}/Server/security/fmeserver.config" {{ if not (eq (getenv "OS") "Windows_NT") }}-Djava.security.egd=file:/dev/./urandom{{ end }} {{getv "/javatnsnames" ""}} -Djava.net.preferIPv4Stack=true -Xms32m -Xmx1024m COM.safe.fmeserver.FMEServerConfiguration "{{getv "/installdir"}}/Server/fmeFlowConfig.txt"
{{getv "/servercomment" ""}}STOP_SYSTEM_Configuration="{{if exists "/fmeconfigjava"}}{{getv "/fmeconfigjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMEConfiguration.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" -Djava.net.preferIPv4Stack=true COM.safe.fmeserver.FMEServerShutdownAgent -fmeServerHost {{getv "/corehostname" "localhost"}} -fmeServerAdminPort {{getv "/fmeconfigrequestport" "7077"}}
 
# Start FME Server Cleanup
{{if exists "/cleanupcomment"}}{{getv "/cleanupcomment" ""}}{{else}}{{ if not (eq (getenv "OS") "Windows_NT") }}#{{end}}{{end}}{{getv "/servercomment" ""}}START_SYSTEM_Cleanup="{{if exists "/fmecleanupjava"}}{{getv "/fmecleanupjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMECleanup.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" {{getv "/cleanupdebug" ""}} -Djava.library.path="{{ if eq (getenv "OS") "Windows_NT" }}{{getv "/installdir"}}/Server/lib/fmeutil{{else}}{{getv "/installdir"}}/Server/lib/fmeutil/fmecore{{end}}" -Djava.security.manager -Djava.security.policy="{{getv "/installdir"}}/Server/security/fmeserver.policy" -Djava.security.auth.login.config="{{getv "/installdir"}}/Server/security/fmeserver.config" -Djava.net.preferIPv4Stack=true {{ if not (eq (getenv "OS") "Windows_NT") }}-Djava.security.egd=file:/dev/./urandom{{ end }} {{getv "/javatnsnames" ""}} -Xms32m -Xmx512m COM.safe.fmeserver.FMEServerCleanup "{{getv "/installdir"}}/Server/fmeFlowConfig.txt"
{{if exists "/cleanupcomment"}}{{getv "/cleanupcomment" ""}}{{else}}{{ if not (eq (getenv "OS") "Windows_NT") }}#{{end}}{{end}}{{getv "/servercomment" ""}}STOP_SYSTEM_Cleanup="{{if exists "/fmecleanupjava"}}{{getv "/fmecleanupjava"}}{{else}}{{getv "/installdir"}}/Utilities/jre/bin/FMECleanup.exe{{end}}" -FMESERVER_CLASSPATH "{{getv "/installdir"}}/Server/lib/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Server/lib/fmeutil/*{{ if eq (getenv "OS") "Windows_NT" }};{{ else }}:{{ end }}{{getv "/installdir"}}/Utilities/jdbc/*" -Djava.net.preferIPv4Stack=true COM.safe.fmeserver.FMEServerShutdownAgent -fmeServerHost {{getv "/corehostname" "localhost"}} -fmeServerAdminPort {{getv "/fmecleanuprequestport" "7081"}}
 
{{if eq (getv "/startutilityengine") "true"}}
# Start FME Server Utility Engine
START_SYSTEM_{{getv "/nodename"}}_Utility1="{{getv "/fmeexecutility"}}" REGISTER_FME_ENGINE {{getv "/corehostname" "localhost"}} {{getv "/serviceregistrationport" "7070"}} {{getv "/securitycluster" "DEFAULT"}} "{{getv "/installdir"}}/Server/fmeEngineConfig.txt" -ENGINE_HOST_NAME {{getv "/nodename"}} {{getv "/engineproperties" ""}} -FME_INSTANCE_NAME {{getv "/nodename"}}_Utility1 -ENGINE_TYPE UTILITY
PARAMS_SYSTEM_{{getv "/nodename"}}_Utility1=log=true|attempts=20|continual=60|wait=0|norestart=2
{{end}}