diff options
Diffstat (limited to 'net-analyzer/zabbix/files/zabbix-server.service')
-rw-r--r-- | net-analyzer/zabbix/files/zabbix-server.service | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net-analyzer/zabbix/files/zabbix-server.service b/net-analyzer/zabbix/files/zabbix-server.service index 3ea973356eff..a7bdc0d1e06d 100644 --- a/net-analyzer/zabbix/files/zabbix-server.service +++ b/net-analyzer/zabbix/files/zabbix-server.service @@ -1,14 +1,15 @@ [Unit] Description=Zabbix server -After=syslog.target network.target postgresql.service +Documentation=https://zabbix.com/manuals +After=syslog.target syslog.service network.target network-online.target postgresql.service +After=postgresql-9.6.service postgresql-10.service +After=postgresql-11.service postgresql-12.service + [Service] -Type=forking User=zabbix Group=zabbix -ExecStart=/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf -PIDFile=/run/zabbix/zabbix_server.pid +ExecStart=/usr/sbin/zabbix_server --foreground --config /etc/zabbix/zabbix_server.conf [Install] WantedBy=multi-user.target - |