Blame SOURCES/zabbix-proxy.service

1c3a77
[Unit]
1c3a77
Description=Zabbix Proxy
1c3a77
After=syslog.target
1c3a77
After=network.target
1c3a77
After=mysql.service
1c3a77
After=mysqld.service
1c3a77
After=mariadb.service
1c3a77
After=postgresql.service
1c3a77
After=pgbouncer.service
1c3a77
After=postgresql-9.4.service
1c3a77
After=postgresql-9.5.service
1c3a77
After=postgresql-9.6.service
1c3a77
After=postgresql-10.service
1c3a77
After=postgresql-11.service
1c3a77
After=postgresql-12.service
f950eb
After=postgresql-13.service
9b10f6
After=postgresql-14.service
1c3a77
1c3a77
[Service]
1c3a77
Environment="CONFFILE=/etc/zabbix/zabbix_proxy.conf"
1c3a77
EnvironmentFile=-/etc/sysconfig/zabbix-proxy
1c3a77
Type=forking
1c3a77
Restart=on-failure
1c3a77
PIDFile=/run/zabbix/zabbix_proxy.pid
1c3a77
KillMode=control-group
1c3a77
ExecStart=/usr/sbin/zabbix_proxy -c $CONFFILE
1c3a77
ExecStop=/bin/kill -SIGTERM $MAINPID
1c3a77
RestartSec=10s
1c3a77
TimeoutSec=0
1c3a77
1c3a77
[Install]
1c3a77
WantedBy=multi-user.target