Blame SOURCES/zabbix-agent.service

1c3a77
[Unit]
1c3a77
Description=Zabbix Agent
1c3a77
After=syslog.target
1c3a77
After=network.target
1c3a77
1c3a77
[Service]
1c3a77
Environment="CONFFILE=/etc/zabbix/zabbix_agentd.conf"
1c3a77
EnvironmentFile=-/etc/sysconfig/zabbix-agent
1c3a77
Type=forking
1c3a77
Restart=on-failure
1c3a77
PIDFile=/run/zabbix/zabbix_agentd.pid
1c3a77
KillMode=control-group
1c3a77
ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE
1c3a77
ExecStop=/bin/kill -SIGTERM $MAINPID
1c3a77
RestartSec=10s
1c3a77
User=zabbix
1c3a77
Group=zabbix
1c3a77
1c3a77
[Install]
1c3a77
WantedBy=multi-user.target