aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-14 01:39:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-14 01:39:04 -0300
commitfe4859aee4eeddbcb0b81b03fe3608383f431710 (patch)
tree8e5cef9d51f60ad427677dbfd1d23e786e0335a8 /kvmx
parent67648f1f55120b6c6ee2166e1b0d3a465f136b20 (diff)
downloadkvmx-fe4859aee4eeddbcb0b81b03fe3608383f431710.tar.gz
kvmx-fe4859aee4eeddbcb0b81b03fe3608383f431710.tar.bz2
Possible nohup output workaround at kvmx_shell
Diffstat (limited to 'kvmx')
-rwxr-xr-xkvmx6
1 files changed, 4 insertions, 2 deletions
diff --git a/kvmx b/kvmx
index 3420ca8..10a0d3e 100755
--- a/kvmx
+++ b/kvmx
@@ -1794,7 +1794,8 @@ function kvmx_shell {
else
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}
+ #nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} >> $LOGDIR/nohup 2>&1 &
+ #tail -F $LOGDIR/nohup
# Process command, disown version, stdout are preserved
$APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} &
@@ -1806,7 +1807,8 @@ function kvmx_shell {
else
if [ "${STDIN[0]}" == "up" ] || [ "${STDIN[0]}" == "start" ] || [ "${STDIN[0]}" == "restart" ]; then
# Process command, nohup version
- #nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1}
+ #nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} >> $LOGDIR/nohup 2>&1 &
+ #tail -F $LOGDIR/nohup
# Process command, disown version
$APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} &