Hello Mr. Dennis, You are not going to believe this idea. I was running another script on the same port. This is the only reason it did not work. Aw!
Seth P.S. Sorry to bother you. On Friday, September 13, 2019 at 10:11:07 AM UTC-5, Dennis Lee Bieber wrote: > > On Thu, 12 Sep 2019 19:17:45 -0700 (PDT), Mala Dies > <[email protected] <javascript:>> declaimed the following: > > > >Okay so, it works. yea! But...the server keeps running even after I stop > my > >.service file or disable it. > > > >Seth > > > >P.S. Does anyone know how to cancel their Gunicorn server from running > >online even after the .service file has been stopped/disabled? > > You may need to add an > ExecStop > line to the configuration. Can't help with what would be in that line > > http://docs.gunicorn.org/en/stable/deploy.html#monitoring > > has an entry for systemd... > > [Service] > PIDFile=/run/gunicorn/pid > User=someuser > Group=someuser > RuntimeDirectory=gunicorn > WorkingDirectory=/home/someuser/applicationroot > ExecStart=/usr/bin/gunicorn --pid /run/gunicorn/pid \ > --bind unix:/run/gunicorn/socket applicationname.wsgi > ExecReload=/bin/kill -s HUP $MAINPID > ExecStop=/bin/kill -s TERM $MAINPID > PrivateTmp=true > > > though I'm not sure how $MAINPID gets set, especially as they appear to be > stuffing the PID into a file. > > > > -- > Wulfraed Dennis Lee Bieber AF6VN > [email protected] <javascript:> > http://wlfraed.microdiversity.freeddns.org/ > > -- 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/4b1e8b76-e1d2-4e04-bd6e-2d1e56951e18%40googlegroups.com.
