# Configuration for /etc/init.d/uwsgi(.*)

# The default "uwsgi" service runs in emperor mode; symlinked instances
# (e.g. uwsgi.myapp or myapp) run as standalone uWSGI applications.

# User and group to run uwsgi as.
# The default is "root" if running in the emperor mode, otherwise "nobody".
#command_user=

# Path to the uWSGI configuration file, without the .ini or .yml suffix.
# If unset, the default depends on the service name:
# - "uwsgi": /etc/uwsgi/uwsgi (emperor mode)
# - "uwsgi.<name>": /etc/uwsgi/conf.d/<name> (standalone instance)
# - any other name: /etc/<service>/uwsgi (standalone instance)
# The runscript automatically uses the matching .ini or .yml file if present.
#uwsgi_conf=

# Redirect stdout and stderr to syslog. This is mutually exclusive with
# output_log and error_log, respectively.
#output_logger=
error_logger="logger -t $RC_SVCNAME -p daemon.info >/dev/null 2>&1"

# Files to redirect stdout and stderr to. If the service name is "uwsgi" and
# 'output_logger' and 'error_logger' variables are not set, it defaults to
# "/var/log/uwsgi/uwsgi.log" (this is mainly for backward compatibility).
#output_log=
#error_log=

# Uncomment to run with process supervisor. Note that uWSGI itself is a
# supervisor, so it's usually pointless.
# supervisor="supervise-daemon"
