Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
configure add: add comment about values containing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Feb 15, 2018
1 parent fed3c11 commit 01b099a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions manuals/en/main/bconsole.tex
Original file line number Diff line number Diff line change
Expand Up @@ -467,11 +467,16 @@ \section{Console Commands}

This command allows to add resources during runtime.
Usage:
\begin{bconsole}{}
\begin{bconsole}{configure add usage}
configure add <resourcetype> name=<resourcename> <directive1>=<value1> <directive2>=<value2> ...
\end{bconsole}

The command generates and loads a new, valid resource.
Values that must be quoted in the resulting configuration must be added as:
\begin{bconsole}{configure add usage with values containing spaces}
configure add <resourcetype> name=<resourcename> <directive1>="\"<value containing spaces>\"" ...
\end{bconsole}

The command generates and loads a new valid resource.
As the new resource is also stored at

\file{<CONFIGDIR>/bareos-dir.d/<resourcetype>/<resourcename>.conf}
Expand Down

0 comments on commit 01b099a

Please sign in to comment.