have u put anything in rc.conf.local ? Thanks
On April 14, 2020 7:25:05 PM GMT+02:00, Daniel Winters <dan...@tydirium.org> wrote: >>> 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 -- Sent from my Android device with K-9 Mail. Please excuse my brevity.