[Unit]
Description=Performance Metrics Inference Engine
Documentation=man:pmie(1)
After=network-online.target pmcd.service
Before=pmie_check.timer pmie_daily.timer
BindsTo=pmie_check.timer pmie_daily.timer
Wants=pmcd.service

[Service]
Type=notify
Restart=always
NotifyAccess=all
TimeoutSec=120

ExecStart=/usr/lib/pcp/lib/pmie start-systemd
ExecStop=/usr/lib/pcp/lib/pmie stop-systemd
PIDFile=/run/pcp/pmie.pid

[Install]
WantedBy=multi-user.target
