You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
[Unit]
|
|
|
|
Description=Zabbix Agent
|
|
|
|
After=syslog.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment="CONFFILE=/etc/zabbix/zabbix_agentd.conf"
|
|
|
|
EnvironmentFile=-/etc/sysconfig/zabbix-agent
|
|
|
|
Type=forking
|
|
|
|
Restart=on-failure
|
|
|
|
PIDFile=/run/zabbix/zabbix_agentd.pid
|
|
|
|
KillMode=control-group
|
|
|
|
ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE
|
|
|
|
ExecStop=/bin/kill -SIGTERM $MAINPID
|
|
|
|
RestartSec=10s
|
|
|
|
User=zabbix
|
|
|
|
Group=zabbix
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|