Skip to content

Commit 3df5304

Browse files
committed
rc-scripting: fix the "instancing" example
- fix the name of the config variable - add the missing "="
1 parent fdba6c2 commit 3df5304

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

documentation/content/en/articles/rc-scripting/_index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,9 +963,9 @@ eval "${rcvar}=\${${rcvar}:-'NO'}" <.>
963963
eval "${name}_svcj_options=\${${name}_svcj_options:-'net_basic'}" <.>
964964
eval "_dummy_user=\${${name}_user:-'www'}" <.>
965965
966-
_dummy_configname=/usr/local/etc/${name}.cfg <.>
966+
_dummy_configfile=/usr/local/etc/${name}.cfg <.>
967967
pidfile=/var/run/dummy/${name}.pid
968-
required_files ${_dummy_configname}
968+
required_files=${_dummy_configfile}
969969
command_args="-u ${_dummy_user} -c ${_dummy_configfile} -p ${pidfile}"
970970
971971
run_rc_command "$1"

documentation/content/ru/articles/rc-scripting/_index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,9 +732,9 @@ eval "${rcvar}=\${${rcvar}:-'NO'}" <.>
732732
eval "${name}_svcj_options=\${${name}_svcj_options:-'net_basic'}" <.>
733733
eval "_dummy_user=\${${name}_user:-'www'}" <.>
734734
735-
_dummy_configname=/usr/local/etc/${name}.cfg <.>
735+
_dummy_configfile=/usr/local/etc/${name}.cfg <.>
736736
pidfile=/var/run/dummy/${name}.pid
737-
required_files ${_dummy_configname}
737+
required_files=${_dummy_configfile}
738738
command_args="-u ${_dummy_user} -c ${_dummy_configfile} -p ${pidfile}"
739739
740740
run_rc_command "$1"

0 commit comments

Comments
 (0)