Agent foreground mode

If the agent crashes with no useful errors in the logs, you can run it in foreground mode where it will not become a daemon and will stay attached to your terminal.

This article is for our v1 agent and will soon be deprecated. See running the v2 agent in foreground mode.

Any crash output will be shown in the console which you can send us to help debug the problem. 

Running in foreground mode

Run these 2 commands: 

cd /usr/bin/sd-agent
python agent.py foreground
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Monday  —  Friday.

10am  —  6pm UK.

Dedicated Support.