Merge pull request 'feat: start agent immediately in background after user-mode install' (#52) from feat/push-monitoring-agent-v2 into master
Reviewed-on: #52
This commit was merged in pull request #52.
This commit is contained in:
@@ -135,6 +135,9 @@ else
|
|||||||
echo "WARNING: Could not install crontab."
|
echo "WARNING: Could not install crontab."
|
||||||
echo " Run: $AGENT_BIN &"
|
echo " Run: $AGENT_BIN &"
|
||||||
}
|
}
|
||||||
|
echo " Starting agent in background..."
|
||||||
|
nohup "$AGENT_BIN" > "$LOG_DIR/agent.log" 2>&1 & disown
|
||||||
|
echo " Agent started (PID $!)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user