Commit d0d2e98c authored by Andreas Kempe's avatar Andreas Kempe
Browse files

Update uWSGI start script.

parent 61c77751
......@@ -2,14 +2,17 @@
# Start script for a single uWSGI service. Modify socket, wsgi-file
# and the logfile given to daemonize2 per script. Changing the name
# might also be a good idea.
. /etc/rc.subr
command_args="--socket /tmp/hugo.socket --wsgi-file /home/kempe/ --uid 80 --gid 80 --daemonize2 /var/log/uwsgi/test.log"
command_args="--plugin python36 --socket /tmp/generator_cgi.socket --py-programname /usr/local/bin/python3.6 --pythonpath /usr/local/lib/python3.6/site-packages --wsgi-file /usr/local/etc/nginx/cgi_scripts/ --uid 80 --gid 80 --daemonize2 /var/log/uwsgi/generator.log"
load_rc_config $name
run_rc_command "$1"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment