diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-14 20:37:12 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-14 20:37:12 -0300 |
commit | 5cfe6dec84e7a75de96523fb3abbe49cdedbc900 (patch) | |
tree | 5810e83fb7b68e6dc6f83b939b1135b9b0ab1205 | |
parent | 7dfae575c39e9bbb1085fe0b5887550370e9cfbb (diff) | |
download | kvmx-5cfe6dec84e7a75de96523fb3abbe49cdedbc900.tar.gz kvmx-5cfe6dec84e7a75de96523fb3abbe49cdedbc900.tar.bz2 |
Tail should go to background as well at kvmx-shell
-rwxr-xr-x | kvmx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1795,7 +1795,7 @@ function kvmx_shell { if [ "${STDIN[0]}" == "up" ] || [ "${STDIN[0]}" == "start" ] || [ "${STDIN[0]}" == "restart" ]; then # Process command, nohup version, stdout and stderr are redirected to a file nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} >> $LOG_DIR/nohup 2>&1 & - tail -F $LOG_DIR/nohup + tail -F $LOG_DIR/nohup & # Process command, disown version, stdout are preserved #$APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} & @@ -1808,7 +1808,7 @@ function kvmx_shell { if [ "${STDIN[0]}" == "up" ] || [ "${STDIN[0]}" == "start" ] || [ "${STDIN[0]}" == "restart" ]; then # Process command, nohup version nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} >> $LOG_DIR/nohup 2>&1 & - tail -F $LOG_DIR/nohup + tail -F $LOG_DIR/nohup & # Process command, disown version #$APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} & |