#!/bin/sh # PROVIDE: uwsgi # REQUIRE: DAEMON # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable uwsgi: # # uwsgi_enable (bool): Set it to "YES" to enable uwsgi # Default is "NO". # uwsgi_socket (path/str): Set the path to the uwsgi unix socket # Default is /tmp/uwsgi.sock. # uwsgi_socket_mode (int): Set the mode of the socket. # Default is 660. # uwsgi_socket_owner (str): Set the owner of the socket. # Default is uwsgi:www. # uwsgi_emperor (bool): Set it to "YES" to run uwsgi in emperor mode # Default is "NO". # uwsgi_configfile (path): Set the path to the config file # Default is %%PREFIX%%/etc/uwsgi/uwsgi.ini. # uwsgi_vassals_dir (path): Set the path to the vassals directory # Default is %%PREFIX%%/etc/uwsgi/vassals. # uwsgi_logfile (path): Set the path to the uwsgi log file # Default is /var/log/uwsgi.log. # uwsgi_pidfile (path): Set the path to the uwsgi pid file # Default is /var/run/uwsgi.pid. # uwsgi_uid (int): Set the UID of the process to run with # Default is uwsgi. # uwsgi_gid (int): Set the GID of the process to run with # Default is uwsgi. # uwsgi_flags (str): Set the uwsgi command line arguments # Default is "-L". # uwsgi_procname (str): Define to "uWSGI" if you start uwsgi with # --auto-procname option. # # If you would like to have multiple uWSGI instances running, you can # define multiple profiles: # # uwsgi_profiles (str): Set the list of uwsgi profiles # Default is "". # # For each profile you can then define different options (except for # uwsgi_enable) using the syntax uwsgi__