#!/sbin/openrc-run

name="nomad"
description="HashiCorp Nomad server"
command="/usr/bin/nomad" 
command_args="agent -config=/etc/nomad.d"
pidfile="/var/run/nomad.pid"
depend() {
	need net
}
start_stop_daemon_args="--background --make-pidfile --pidfile ${pidfile} --exec ${command} -- ${command_args}"
