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