#!/sbin/openrc-run

name="endPointMonitor"
description="SMNT EndPoint Monitor Controller Service"

: ${command_user:="endPointMonitor"}

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