diff --git a/zabbix-proxy.service b/zabbix-proxy.service index fb0d5af..9c52e55 100644 --- a/zabbix-proxy.service +++ b/zabbix-proxy.service @@ -6,6 +6,8 @@ After=syslog.target network.target Type=simple ExecStart=/usr/sbin/zabbix_proxy --config /etc/zabbix/zabbix_proxy.conf --foreground ExecReload=/usr/sbin/zabbix_proxy -R config_cache_reload +User=zabbix +Group=zabbix CPUShares=512 MemoryLimit=500M BlockIOWeight=500 diff --git a/zabbix-server.service b/zabbix-server.service index 9449210..2970fa9 100644 --- a/zabbix-server.service +++ b/zabbix-server.service @@ -6,6 +6,8 @@ After=syslog.target network.target Type=simple ExecStart=/usr/sbin/zabbix_server --config /etc/zabbix/zabbix_server.conf --foreground ExecReload=/usr/sbin/zabbix_server -R config_cache_reload +User=zabbix +Group=zabbix MemoryLimit=2048M BlockIOWeight=500 PrivateTmp=yes