service_args is now an array
This commit is contained in:
@@ -5,10 +5,10 @@ privoxy_configfile='/etc/privoxy/config'
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/privoxy'
|
||||
service_args="--no-daemon --user ${privoxy_username} ${privoxy_configfile}"
|
||||
service_args=( --no-daemon --user "$privoxy_username" "$privoxy_configfile" )
|
||||
|
||||
privoxy::configtest() {
|
||||
"${service_command}" --config-test ${service_args}
|
||||
"$service_command" --config-test "${service_args[@]}"
|
||||
}
|
||||
|
||||
restart() {
|
||||
|
Reference in New Issue
Block a user