summaryrefslogtreecommitdiffstats
path: root/linhes/zabbix/zabbix-server-mysql.service
blob: 26e96cf22e5949cbeadaf9fe176343f001818591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

[Unit]
Description=Zabbix Server with MySQL
After=network.target mysql.service
Conflicts=zabbix-server.service zabbix-server-pgsql.service

[Service]
Type=simple
ExecStart=/usr/bin/zabbix_server_mysql -f
User=zabbix-server
PrivateDevices=yes
PrivateTmp=yes
ProtectSystem=full
ProtectHome=yes
CapabilityBoundingSet=cap_net_raw
AmbientCapabilities=cap_net_raw

[Install]
WantedBy=multi-user.target