sys-cluster/nomad: add nomad with ui support
Package-Manager: Portage-3.0.13, Repoman-3.0.2
This commit is contained in:
parent
c9affa7475
commit
bbe249adb3
6 changed files with 92 additions and 0 deletions
20
sys-cluster/nomad/files/nomad.initd
Normal file
20
sys-cluster/nomad/files/nomad.initd
Normal 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}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue