add app-metrics/glpi-agent

new file:   app-metrics/glpi-agent/Manifest
	new file:   app-metrics/glpi-agent/files/glpi-agent-1.4-dirs.patch
	new file:   app-metrics/glpi-agent/files/glpi-agent.confd
	new file:   app-metrics/glpi-agent/files/glpi-agent.initd
	new file:   app-metrics/glpi-agent/glpi-agent-1.4.ebuild
This commit is contained in:
2022-08-16 06:35:55 +02:00
parent 922d8e7447
commit f0ca9f9b6a
5 changed files with 146 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#!/sbin/openrc-run
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
pidfile=${RC_PREFIX%/}/run/${SVCNAME}.pid
name="glpi-agent daemon"
description="GLPI agent"
command=/usr/bin/glpi-agent
command_args="--daemon --pidfile ${pidfile} ${GLPI-AGENT_OPTIONS}"
extra_started_commands="reload"
depend() {
need net
}
reload() {
ebegin "Reloading ${SVCNAME}"
start-stop-daemon --signal HUP --pidfile "${pidfile}"
eend $?
}