# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.

# [required] user or uid of account to run the program as:
USER=<%= @user %>

# [optional] full path to the configuration file of your choice;
#            otherwise, the default location (in $USER's home
#            directory) is used:
CONFIG=<%= @config %>

# [optional] hostname/ip and port number to listen on:
HOST=<%= @host %>
PORT=<%= @port %>

# [optional] extra command line options, if any:
EXTRAOPTS=<%= @extra_opts %>

# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.

# [required] user or uid of account to run the program as:
USER=<%= scope['sabnzbd::user'] %>

# [optional] full path to the configuration file of your choice;
#            otherwise, the default location (in $USER's home
#            directory) is used:
CONFIG=<%= scope['sabnzbd::config'] %>

# [optional] hostname/ip and port number to listen on:
HOST=<%= scope['sabnzbd::host'] %>
PORT=<%= scope['sabnzbd::port'] %>

# [optional] extra command line options, if any:
EXTRAOPTS=<%= scope['sabnzbd::extra_opts'] %>

Fix variable scope in erb template
Fix variable scope in erb template
