summaryrefslogtreecommitdiff
path: root/net-analyzer/zabbix/files/zabbix-server.init
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/zabbix/files/zabbix-server.init')
-rw-r--r--net-analyzer/zabbix/files/zabbix-server.init19
1 files changed, 0 insertions, 19 deletions
diff --git a/net-analyzer/zabbix/files/zabbix-server.init b/net-analyzer/zabbix/files/zabbix-server.init
deleted file mode 100644
index b0bf752abaf7..000000000000
--- a/net-analyzer/zabbix/files/zabbix-server.init
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/zabbix_server"
-command_args="--foreground --config /etc/zabbix/zabbix_server.conf"
-command_background="true"
-command_user="zabbix:zabbix"
-pidfile="/run/${RC_SVCNAME}.pid"
-
-depend() {
- need net
- use mysql postgresql
-}
-
-start_pre() {
- checkpath -q -d -m 0750 -o root:zabbix /etc/zabbix
- checkpath -q -f -m 0640 -o root:zabbix /etc/zabbix/*.conf
-}