'woody stanford' via BeagleBoard <[email protected]> wrote:
> >
> > I use the BBB to turn on my christmas light using a simple relay circuit.
> > I made a simple server in python that listens to post requests, so far it
> > works, I also use Microsoft Cognitive Services to send post requests based
> > on speech commands.
> > When I start up the python server: nohup python3 server.py & everything
> > works fine while I am connected to the BBB over ssh but when I leave the
> > server stops working.
> >
> > Could you please give me some advice on how to keep python3 server running
> > after I disconnect from ssh?
> >
Look at the 'nohup' command. Basically you do:-
nohup <my script> &
The & after the command puts it in the background, the nohup tells the
system not to send it a hangup signal when you disconnect ssh.
--
Chris Green
ยท
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/r4r0md-qc1.ln1%40esprimo.zbmc.eu.
For more options, visit https://groups.google.com/d/optout.