#!/sbin/openrc-run

name="endPointMonitor"
description="SMNT EndPoint Monitor Agent"

: ${command_user:="endPointMonitor"}

directory="/opt/smnt/endPointMonitorAgent"
command="/usr/bin/java"
command_args="-Dlog4j2.configurationFile=file:/opt/smnt/endPointMonitorAgent/config/log4j2.xml -jar EndPointMonitorAgent.war"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"