summaryrefslogtreecommitdiffstats
path: root/linhes/zabbix/zabbix-server-mysql.service
blob: ba480a669383d53317c3dd852ffd75820ecf2b3a (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 cap_setuid cap_setgid
AmbientCapabilities=cap_net_raw cap_setuid cap_setgid

[Install]
WantedBy=multi-user.target