View | Details | Raw Unified | Return to bug 251384 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/nomad/files/nomad.in (-2 / +2 lines)
Lines 40-46 Link Here
40
procname="%%PREFIX%%/bin/nomad"
40
procname="%%PREFIX%%/bin/nomad"
41
command="/usr/sbin/daemon"
41
command="/usr/sbin/daemon"
42
nomad_command="/usr/bin/env ${nomad_env} ${procname} agent -data-dir=${nomad_dir} ${nomad_args}"
42
nomad_command="/usr/bin/env ${nomad_env} ${procname} agent -data-dir=${nomad_dir} ${nomad_args}"
43
command_args="-f -p ${pidfile} ${nomad_command}"
43
command_args="-f -t ${name} -p ${pidfile} ${nomad_command}"
44
44
45
start_precmd=nomad_startprecmd
45
start_precmd=nomad_startprecmd
46
46
Lines 54-60 Link Here
54
		install -d -o ${nomad_user} -g ${nomad_group} ${nomad_dir}
54
		install -d -o ${nomad_user} -g ${nomad_group} ${nomad_dir}
55
	fi
55
	fi
56
	if [ "${nomad_debug}" != "NO" ]; then
56
	if [ "${nomad_debug}" != "NO" ]; then
57
		command_args="-S -T ${name} -p ${pidfile} ${nomad_command}"
57
		command_args="-T ${name} ${command_args}"
58
	fi
58
	fi
59
}
59
}
60
60

Return to bug 251384