>> Hey, im trying to run a python app with gunicon-3 and rcctl >> but rcctl start guni just returns ok as it was started and doesnt start >> it. what am i doing wrong? Thanks
I am successfully running a flask apps (named "webapp" as an example) with gunicorn using the following /etc/rc.d/webapp script: #!/bin/ksh daemon="/usr/local/bin/gunicorn-3 -D" daemon_user="www" daemon_flags="--bind 127.0.0.1:8000 --chdir /var/www/webapp --name webapp webapp:app" . /etc/rc.d/rc.subr pexp=".*gunicorn: master \[webapp\].*" rc_cmd $1 Cheers, Daniel

