|
|
|
@ -3,15 +3,16 @@ Description=Zabbix Server |
|
|
|
|
After=syslog.target network.target |
|
|
|
|
|
|
|
|
|
[Service] |
|
|
|
|
Type=forking |
|
|
|
|
ExecStart=/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf |
|
|
|
|
Type=simple |
|
|
|
|
ExecStart=/usr/sbin/zabbix_server --config /etc/zabbix/zabbix_server.conf --foreground |
|
|
|
|
ExecReload=/usr/sbin/zabbix_server -R config_cache_reload |
|
|
|
|
PIDFile=/var/run/zabbix/zabbix_server.pid |
|
|
|
|
PrivateTmp=yes |
|
|
|
|
MemoryLimit=500M |
|
|
|
|
MemoryLimit=2048M |
|
|
|
|
BlockIOWeight=500 |
|
|
|
|
InaccessibleDirectories=/home |
|
|
|
|
ReadOnlyDirectories=/etc /usr |
|
|
|
|
PrivateTmp=yes |
|
|
|
|
PrivateDevices=yes |
|
|
|
|
ProtectSystem=full |
|
|
|
|
ProtectHome=yes |
|
|
|
|
NoNewPrivileges=yes |
|
|
|
|
|
|
|
|
|
[Install] |
|
|
|
|
WantedBy=multi-user.target |
|
|
|
|