# HG changeset patch # User Franz Glasner # Date 1724831166 -7200 # Node ID 30ba5e272030688708d5393f40b0d120cd113316 # Parent ce46191f24d675d8db172769506f731893225ca9 fbhyve: put tmux into the required_files diff -r ce46191f24d6 -r 30ba5e272030 files/fbhyve.in --- a/files/fbhyve.in Wed Aug 28 09:20:51 2024 +0200 +++ b/files/fbhyve.in Wed Aug 28 09:46:06 2024 +0200 @@ -87,12 +87,11 @@ _rundir="%%FBHYVE_RUNDIR%%" pidfile="${_rundir}/${_vm}.pid" +command="%%LOCALBASE%%/bin/tmux" procname="bhyve:" # something like bhyve: (bhyve) required_dirs="${_rundir}" -required_files="${fbhyve_config}" - -command="%%LOCALBASE%%/bin/tmux" +required_files="${fbhyve_config} ${command}" command_args="new-session -ds ${_session} -n ${_window} \"sh -c 'echo \\\$\\\$ >\\\"${pidfile}\\\"; /usr/sbin/bhyve -k \\\"${fbhyve_config}\\\" \\\"${_vm}\\\"'\""