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:
parent
75372a792f
commit
fb149952de
|
@ -33,7 +33,7 @@ procname="/usr/local/libexec/albatross/vmmd_console"
|
||||||
|
|
||||||
albatross_console_start () {
|
albatross_console_start () {
|
||||||
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_console_user}" \
|
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_console_user}" \
|
||||||
"${procname}" "${albatross_console_flags}"
|
"${procname}" ${albatross_console_flags}
|
||||||
}
|
}
|
||||||
|
|
||||||
run_rc_command "$1"
|
run_rc_command "$1"
|
||||||
|
|
|
@ -68,7 +68,7 @@ albatross_daemon_precmd() {
|
||||||
|
|
||||||
albatross_daemon_start () {
|
albatross_daemon_start () {
|
||||||
/usr/sbin/daemon -S -p "${pidfile}" "${procname}" \
|
/usr/sbin/daemon -S -p "${pidfile}" "${procname}" \
|
||||||
"${albatross_daemon_flags}"
|
${albatross_daemon_flags}
|
||||||
}
|
}
|
||||||
|
|
||||||
run_rc_command "$1"
|
run_rc_command "$1"
|
||||||
|
|
|
@ -63,7 +63,7 @@ albatross_influx_precmd() {
|
||||||
|
|
||||||
albatross_influx_start () {
|
albatross_influx_start () {
|
||||||
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_influx_user}" \
|
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_influx_user}" \
|
||||||
"${procname}" "${albatross_influx_flags}"
|
"${procname}" ${albatross_influx_flags}
|
||||||
}
|
}
|
||||||
|
|
||||||
run_rc_command "$1"
|
run_rc_command "$1"
|
||||||
|
|
|
@ -41,7 +41,7 @@ albatross_log_precmd () {
|
||||||
|
|
||||||
albatross_log_start () {
|
albatross_log_start () {
|
||||||
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_log_user}" \
|
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_log_user}" \
|
||||||
"${procname}" "${albatross_log_flags}"
|
"${procname}" ${albatross_log_flags}
|
||||||
}
|
}
|
||||||
|
|
||||||
run_rc_command "$1"
|
run_rc_command "$1"
|
||||||
|
|
|
@ -33,7 +33,7 @@ procname="/usr/local/libexec/albatross/vmmd_stats"
|
||||||
|
|
||||||
albatross_stat_start () {
|
albatross_stat_start () {
|
||||||
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_stat_user}" \
|
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_stat_user}" \
|
||||||
"${procname}" "${albatross_stat_flags}"
|
"${procname}" ${albatross_stat_flags}
|
||||||
}
|
}
|
||||||
|
|
||||||
run_rc_command "$1"
|
run_rc_command "$1"
|
||||||
|
|
|
@ -63,7 +63,7 @@ albatross_tls_precmd() {
|
||||||
|
|
||||||
albatross_tls_start () {
|
albatross_tls_start () {
|
||||||
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_tls_user}" \
|
/usr/sbin/daemon -S -p "${pidfile}" -u "${albatross_tls_user}" \
|
||||||
"${procname}" "${albatross_tls_flags}"
|
"${procname}" ${albatross_tls_flags}
|
||||||
}
|
}
|
||||||
|
|
||||||
run_rc_command "$1"
|
run_rc_command "$1"
|
||||||
|
|
Loading…
Reference in a new issue