[Unit]
Description=Process PMIE logs
Documentation=man:pmie_daily(1)
ConditionPathExists=!/etc/cron.d/pcp-pmie

[Service]
Type=oneshot
Environment="PMIE_DAILY_PARAMS=-X xz -x 3"
EnvironmentFile=-/etc/sysconfig/pmie_timers
ExecStart=/usr/lib/pcp/bin/pmie_daily $PMIE_DAILY_PARAMS
WorkingDirectory=/var/lib/pcp
Group=pcp
User=pcp
