changeset 479:30ba5e272030

fbhyve: put tmux into the required_files
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 28 Aug 2024 09:46:06 +0200
parents ce46191f24d6
children 1d92e45a9558
files files/fbhyve.in
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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: <vmname> (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}\\\"'\""