[Unit]
Description=Discover remote PCP services for analysis
Documentation=man:pmfind(1)
After=network-online.target pmcd.service
After=pmie_check.timer pmlogger_check.timer
BindsTo=pmfind.timer pmfind.path

[Service]
Type=oneshot
TimeoutSec=60
Environment="PMFIND_CHECK_PARAMS=-C"
EnvironmentFile=-/etc/sysconfig/pmfind
ExecStart=/usr/lib/pcp/bin/pmfind_check $PMFIND_CHECK_PARAMS
WorkingDirectory=/var/lib/pcp

[Install]
WantedBy=multi-user.target
