Home » Linux » zabbix_agent.service

[Unit]
Description=Zabbix Agent
After=syslog.target
After=network.target

[Service]
Environment="CONFFILE=/usr/share/zabbix/conf/zabbix_agentd.conf"
Type=forking
Restart=on-failure
PIDFile=/tmp/zabbix_agentd.pid
KillMode=control-group
ExecStart=/usr/share/zabbix/sbin/zabbix_agentd -c $CONFFILE
ExecStop=/bin/kill -SIGTERM $MAINPID
User=zabbix
RestartSec=10s

[Install]
WantedBy=multi-user.target

标签: ZABBIX Zabbix Agent

添加新评论

V