- add script to run agent_gsm in screen
This commit is contained in:
6
run_agent_screen.sh
Executable file
6
run_agent_screen.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Oneliner to find script's directory. Please note - last path component should NOT be symlink.
|
||||||
|
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )";
|
||||||
|
|
||||||
|
/usr/bin/screen -L -Logfile $SCRIPT_DIR/agent_gsm_screen.log -d -m $SCRIPT_DIR/run_agent.sh
|
||||||
Reference in New Issue
Block a user