File: //usr/lib/systemd/system/omsagent-dfe3ebaa-5c4a-4f1d-b7d5-61a91b00c325.service
[Unit]
Description=Operations Management Suite agent
After=network.target
Wants=omid.service
[Service]
Type=simple
User=omsagent
Group=omiusers
PIDFile=/var/opt/microsoft/omsagent/dfe3ebaa-5c4a-4f1d-b7d5-61a91b00c325/run/omsagent.pid
EnvironmentFile=/etc/opt/microsoft/omsagent/omsagent.env
ExecStart=/opt/microsoft/omsagent/bin/omsagent \
-d /var/opt/microsoft/omsagent/dfe3ebaa-5c4a-4f1d-b7d5-61a91b00c325/run/omsagent.pid \
-o /var/opt/microsoft/omsagent/dfe3ebaa-5c4a-4f1d-b7d5-61a91b00c325/log/omsagent.log \
-c /etc/opt/microsoft/omsagent/dfe3ebaa-5c4a-4f1d-b7d5-61a91b00c325/conf/omsagent.conf \
--no-supervisor
ExecStop=/bin/rm -f /var/opt/microsoft/omsagent/dfe3ebaa-5c4a-4f1d-b7d5-61a91b00c325/run/omsagent.pid
KillMode=process
TimeoutStartSec=10
TimeoutStopSec=10
[Install]
WantedBy=multi-user.target