I have setup MMS agent for my mongoD instances on AWS. MMS Agent is on a separate t1.micro instance. It all works fine however, every time I reboot the server I have to run sudo nohup python agent.py > agent.log 2>&1 &
to start the service!!
How can I add this to service so with every reboot MMS Agent starts too!