fix screen command and permissions for run script
This commit is contained in:
parent
5c8c28255b
commit
99b9a15173
1 changed files with 1 additions and 1 deletions
2
run_agent.sh
Normal file → Executable file
2
run_agent.sh
Normal file → Executable file
|
|
@ -17,7 +17,7 @@ fi
|
|||
|
||||
if command -v screen >/dev/null 2>&1; then
|
||||
echo "Starting in screen session."
|
||||
screen actsim-cluster-agent -j$(nproc)
|
||||
screen bash -c 'source configure_environment.sh; actsim-cluster-agent -j$(nproc);'
|
||||
else
|
||||
echo "screen command not found. Starting in foreground."
|
||||
actsim-cluster-agent -j$(nproc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue