summaryrefslogtreecommitdiffstats
path: root/linhes/zabbix/zabbix-proxy-mysql.service
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-04-11 03:06:21 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-04-11 03:06:21 (GMT)
commit27c42e54adc59fd935a3b94c9196195890a8c634 (patch)
tree7e8b12a92fcaac7531cf6bf48d18ab1293eff20b /linhes/zabbix/zabbix-proxy-mysql.service
parent2974e636424ba21eb481b011ce6f70fd8e2c8731 (diff)
downloadlinhes_pkgbuild-27c42e54adc59fd935a3b94c9196195890a8c634.zip
linhes_pkgbuild-27c42e54adc59fd935a3b94c9196195890a8c634.tar.gz
linhes_pkgbuild-27c42e54adc59fd935a3b94c9196195890a8c634.tar.bz2
zabbix: initial include
Diffstat (limited to 'linhes/zabbix/zabbix-proxy-mysql.service')
-rw-r--r--linhes/zabbix/zabbix-proxy-mysql.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/linhes/zabbix/zabbix-proxy-mysql.service b/linhes/zabbix/zabbix-proxy-mysql.service
new file mode 100644
index 0000000..16b9c7f
--- /dev/null
+++ b/linhes/zabbix/zabbix-proxy-mysql.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Zabbix proxy with MySQL
+After=network.target mysql.service
+Conflicts=zabbix-proxy.service zabbix-proxy-pgsql.service
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/zabbix_proxy_mysql -f
+User=zabbix-proxy
+PrivateDevices=yes
+PrivateTmp=yes
+ProtectSystem=full
+ProtectHome=yes
+CapabilityBoundingSet=cap_net_raw
+AmbientCapabilities=cap_net_raw
+
+[Install]
+WantedBy=multi-user.target