From 23653a0ae345896f4a6b3038c2605a76d4df9498 Mon Sep 17 00:00:00 2001 From: Matthias Drobny Date: Wed, 15 Oct 2014 17:07:46 +0200 Subject: [PATCH] =?UTF-8?q?Installationsdateien=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net-analyzer/zabbix/files/zabbix-agentd.service | 14 ++++++++++++++ net-analyzer/zabbix/files/zabbix-agentd.tmpfiles | 1 + net-analyzer/zabbix/files/zabbix-proxy.service | 14 ++++++++++++++ net-analyzer/zabbix/files/zabbix-proxy.tmpfiles | 1 + net-analyzer/zabbix/files/zabbix-server.service | 14 ++++++++++++++ net-analyzer/zabbix/files/zabbix-server.tmpfiles | 1 + 6 files changed, 45 insertions(+) create mode 100644 net-analyzer/zabbix/files/zabbix-agentd.service create mode 100644 net-analyzer/zabbix/files/zabbix-agentd.tmpfiles create mode 100644 net-analyzer/zabbix/files/zabbix-proxy.service create mode 100644 net-analyzer/zabbix/files/zabbix-proxy.tmpfiles create mode 100644 net-analyzer/zabbix/files/zabbix-server.service create mode 100644 net-analyzer/zabbix/files/zabbix-server.tmpfiles diff --git a/net-analyzer/zabbix/files/zabbix-agentd.service b/net-analyzer/zabbix/files/zabbix-agentd.service new file mode 100644 index 0000000..8485d06 --- /dev/null +++ b/net-analyzer/zabbix/files/zabbix-agentd.service @@ -0,0 +1,14 @@ +[Unit] +Description=Zabbix agent daemon +After=network.target + +[Service] +Type=forking +User=zabbix +Group=zabbix +ExecStart=/usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf +PIDFile=/run/zabbix/zabbix_agentd.pid + +[Install] +WantedBy=multi-user.target + diff --git a/net-analyzer/zabbix/files/zabbix-agentd.tmpfiles b/net-analyzer/zabbix/files/zabbix-agentd.tmpfiles new file mode 100644 index 0000000..56471bb --- /dev/null +++ b/net-analyzer/zabbix/files/zabbix-agentd.tmpfiles @@ -0,0 +1 @@ +d /run/zabbix 0755 zabbix zabbix - diff --git a/net-analyzer/zabbix/files/zabbix-proxy.service b/net-analyzer/zabbix/files/zabbix-proxy.service new file mode 100644 index 0000000..85ecd79 --- /dev/null +++ b/net-analyzer/zabbix/files/zabbix-proxy.service @@ -0,0 +1,14 @@ +[Unit] +Description=Zabbix proxy +After=network.target + +[Service] +Type=forking +User=zabbix +Group=zabbix +ExecStart=/usr/sbin/zabbix_proxy -c /etc/zabbix/zabbix_proxy.conf +PIDFile=/run/zabbix/zabbix_proxy.pid + +[Install] +WantedBy=multi-user.target + diff --git a/net-analyzer/zabbix/files/zabbix-proxy.tmpfiles b/net-analyzer/zabbix/files/zabbix-proxy.tmpfiles new file mode 100644 index 0000000..56471bb --- /dev/null +++ b/net-analyzer/zabbix/files/zabbix-proxy.tmpfiles @@ -0,0 +1 @@ +d /run/zabbix 0755 zabbix zabbix - diff --git a/net-analyzer/zabbix/files/zabbix-server.service b/net-analyzer/zabbix/files/zabbix-server.service new file mode 100644 index 0000000..3ea9733 --- /dev/null +++ b/net-analyzer/zabbix/files/zabbix-server.service @@ -0,0 +1,14 @@ +[Unit] +Description=Zabbix server +After=syslog.target network.target postgresql.service + +[Service] +Type=forking +User=zabbix +Group=zabbix +ExecStart=/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf +PIDFile=/run/zabbix/zabbix_server.pid + +[Install] +WantedBy=multi-user.target + diff --git a/net-analyzer/zabbix/files/zabbix-server.tmpfiles b/net-analyzer/zabbix/files/zabbix-server.tmpfiles new file mode 100644 index 0000000..56471bb --- /dev/null +++ b/net-analyzer/zabbix/files/zabbix-server.tmpfiles @@ -0,0 +1 @@ +d /run/zabbix 0755 zabbix zabbix -