File pnp4nagios-service.pnp_gearman_worker of Package pnp4nagios

[Unit]
Description=PNP4Nagios Gearman Mode
After=syslog.target network.target gearmand.service

[Service]
EnvironmentFile=/etc/sysconfig/pnp4nagios
PIDFile=/var/run/pnp_gearman_worker/pnp_gearman_worker.pid
User=$PNP_GEARMAN_WORKER_USER
ExecStart=NAGIOS_PLUGINDIR/process_perfdata.pl --pidfile=/var/run/pnp_gearman_worker/pnp_gearman_worker.pid --config=PNP4NAGIOS_SYSCONFDIR/process_perfdata.cfg --gearman
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target