...
|
...
|
@@ -1556,7 +1556,7 @@ function screen_process {
|
1556
|
1556
|
# Append the process to the screen rc file
|
1557
|
1557
|
screen_rc "$name" "$command"
|
1558
|
1558
|
|
1559
|
|
- screen -S $SCREEN_NAME -p $name -X stuff "$command & echo \$! >$SERVICE_DIR/$SCREEN_NAME/${name}.pid; fg || echo \"$name failed to start\" | tee \"$SERVICE_DIR/$SCREEN_NAME/${name}.failure\"$NL"
|
|
1559
|
+ screen -S $SCREEN_NAME -p $name -X stuff "$command & echo \$! >$SERVICE_DIR/$SCREEN_NAME/${name}.pid; fg || echo \"$name failed to start. Exit code: \$?\" | tee \"$SERVICE_DIR/$SCREEN_NAME/${name}.failure\"$NL"
|
1560
|
1560
|
}
|
1561
|
1561
|
|
1562
|
1562
|
# Screen rc file builder
|