Parent Directory | Revision Log | Revision Graph
import
1 | jpp | 1.1 | [Unit] |
2 | Description=Zabbix Agent | ||
3 | After=syslog.target | ||
4 | After=network.target | ||
5 | |||
6 | [Service] | ||
7 | Environment="CONFFILE=/etc/zabbix/zabbix_agentd.conf" | ||
8 | EnvironmentFile=-/etc/sysconfig/zabbix-agent | ||
9 | Type=forking | ||
10 | Restart=on-failure | ||
11 | PIDFile=/run/zabbix/zabbix_agentd.pid | ||
12 | KillMode=control-group | ||
13 | ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE | ||
14 | ExecStop=/bin/kill -SIGTERM $MAINPID | ||
15 | RestartSec=10s | ||
16 | User=zabbix | ||
17 | Group=zabbix | ||
18 | |||
19 | [Install] | ||
20 | WantedBy=multi-user.target |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |