Skip to content

Start and Stop spawn fcgi with webpy in Heaphttpd

Uplusware edited this page Jun 12, 2017 · 1 revision

prepare

sudo apt-get install spawn-fcgi

sudo apt-get install python-webpy

start

sudo spawn-fcgi -d /var/heaphttpd/webpy -f /var/heaphttpd/webpy/main.py -a 127.0.0.1 -p 9001

stop

sudo kill `pgrep -f "python /var/heaphttpd/webpy/main.py"`

Clone this wiki locally