Добавление ebuild из старого оверлея

This commit is contained in:
imax-ua
2024-04-09 15:52:53 +00:00
parent dadbb93565
commit 9daff4138f
35 changed files with 2053 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command="/usr/sbin/zabbix_agentd"
command_args="--foreground --config /etc/zabbix/zabbix_agentd.conf"
command_background="true"
command_user="zabbix:zabbix"
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
provide zabbix-agent
use zabbix-server
}
start_pre() {
checkpath -q -d -m 0750 -o root:zabbix /etc/zabbix
checkpath -q -f -m 0640 -o root:zabbix /etc/zabbix/*.conf
}