Please find the my service file details below and let me know where I am
going wrong

Details:

[Unit]
Description=Wind Explore - xplore-service
After=syslog.target network.target

[Service]
Type=forking
EnvironmentFile=/opt/tomcat/servers/xplore-wind-server/bin/setenv.env
#Environment="TOMCAT_OPTS=-javaagent:/opt/prometheus/jmx_prometheus_javaagent-0.13.0.jar=8080:/opt/prometheus/tomcat.yml"
WorkingDirectory=/opt/tomcat/servers/xplore-wind-server
*Environment="TOMCAT_OPTS=-javaagent:/opt/prometheus/jmx_prometheus_javaagent-0.13.0.jar=8080:/opt/prometheus/tomcat.yml"*
ExecStart=/opt/tomcat/bin/startup.sh
ExecStop=/bin/kill -15
User=tomcat
Group=tomcat
UMask=0007
RestartSec=10
Restart=always

[Install]

On Tue, Oct 20, 2020 at 1:49 PM Shivali Chauhan <[email protected]>
wrote:

> Hi Team,
>
> Could you suggest some proper blogs for  Java Web Applications monitoring?
>
> Thank you,
>
> Regards,
> Shivali Chauhan
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAJzG2E8R-FfEWAyOTvS_YekixP5k8raHWqpDE2TMV_G-PAfGvw%40mail.gmail.com.

Reply via email to