FreeBSD rc scripts: do not quote albatross_*_flags in daemon(8) call

the various /usr/local/libexec/albatross/vmmd* programs are not
happy when called with argv[1] set to an empty string ...
which is what happens if albatross_*_flags is the default value
This commit is contained in:
Stefan Grundmann 2018-11-08 07:51:37 +00:00
parent 75372a792f
commit fb149952de
6 changed files with 6 additions and 6 deletions

View file

@ -33,7 +33,7 @@ procname="/usr/local/libexec/albatross/vmmd_console"
albatross_console_start () {
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_console_user}" \
"${procname}" "${albatross_console_flags}"
"${procname}" ${albatross_console_flags}
}
run_rc_command "$1"

View file

@ -68,7 +68,7 @@ albatross_daemon_precmd() {
albatross_daemon_start () {
/usr/sbin/daemon -S -p "${pidfile}" "${procname}" \
"${albatross_daemon_flags}"
${albatross_daemon_flags}
}
run_rc_command "$1"

View file

@ -63,7 +63,7 @@ albatross_influx_precmd() {
albatross_influx_start () {
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_influx_user}" \
"${procname}" "${albatross_influx_flags}"
"${procname}" ${albatross_influx_flags}
}
run_rc_command "$1"

View file

@ -41,7 +41,7 @@ albatross_log_precmd () {
albatross_log_start () {
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_log_user}" \
"${procname}" "${albatross_log_flags}"
"${procname}" ${albatross_log_flags}
}
run_rc_command "$1"

View file

@ -33,7 +33,7 @@ procname="/usr/local/libexec/albatross/vmmd_stats"
albatross_stat_start () {
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_stat_user}" \
"${procname}" "${albatross_stat_flags}"
"${procname}" ${albatross_stat_flags}
}
run_rc_command "$1"

View file

@ -63,7 +63,7 @@ albatross_tls_precmd() {
albatross_tls_start () {
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_tls_user}" \
"${procname}" "${albatross_tls_flags}"
"${procname}" ${albatross_tls_flags}
}
run_rc_command "$1"