
CONFIG_FILE="<%= @config_file %>"
<% if @uwsgi_config.has_key?('pidfile') -%>
PID_FILE="<%= @uwsgi_config['pidfile'] %>"
<% end -%>
<% if @uwsgi_config.has_key?('logfile') -%>
LOG_FILE="<%= @uwsgi_config['logfile'] %>"
<% end -%>

DAEMON_OPTS="--ini $CONFIG_FILE"



CONFIG_FILE="<%= @config_file %>"
<% if @uwsgi_config.has_key?('pidfile') -%>
PID_FILE="<%= @uwsgi_config['pidfile'] %>"
<% end -%>
<% if @uwsgi_config.has_key?('logfile') -%>
LOG_FILE="<%= @uwsgi_config['logfile'] %>"
<% end -%>

DAEMON_OPTS="$DAEMON_OPTS --ini $CONFIG_FILE"


Append to $DAEMON_OPTS if it is already defined.
Append to $DAEMON_OPTS if it is already defined.
