Skip to content
Snippets Groups Projects
Commit c110895c authored by Andreas Kempe's avatar Andreas Kempe
Browse files

Add FreeBSD service script to source control.

parent 54a54936
Branches
No related tags found
No related merge requests found
#!/bin/sh
. /etc/rc.subr
name=uwsgi_generate_named_config
rcvar=uwsgi_generate_named_config_enable
uwsgi_generate_named_config_chdir="/usr/local/etc/nginx/cgi_scripts"
command="/usr/local/bin/uwsgi"
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/generator.py --uid 80 --gid 80 --daemonize2 /var/log/uwsgi/generator.log"
load_rc_config $name
run_rc_command "$1"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment