sys-cluster/nomad: add nomad with ui support

Package-Manager: Portage-3.0.13, Repoman-3.0.2
This commit is contained in:
Anton Schubert 2021-02-14 00:34:47 +01:00
parent c9affa7475
commit bbe249adb3
No known key found for this signature in database
GPG key ID: B8DDB0A46D2D8626
6 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,20 @@
#!/sbin/openrc-run
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="simple and flexible workload orchestrator"
command="/usr/bin/${RC_SVCNAME}"
pidfile="/run/${RC_SVCNAME}.pid"
command_background="true"
start_stop_daemon_args="--stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
--stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
stopsig=SIGINT
extra_started_commands=reload
depend() {
after net
}
reload() {
start-stop-daemon --signal HUP --pidfile "${pidfile}"
}