[Unit]
Description=Performance Metrics Web Daemon
Documentation=man:pmwebd(8)
Wants=avahi-daemon.service
After=network-online.target avahi-daemon.service pmcd.service
 
[Service]
Type=forking
Restart=always
ExecStart=/usr/share/pcp/lib/pmwebd start
ExecStop=/usr/share/pcp/lib/pmwebd stop
PIDFile=/run/pcp/pmwebd.pid
 
[Install]
WantedBy=multi-user.target
