New command line parameter: alternative configuration file.

This commit is contained in:
Philippe Pittoli 2024-12-11 20:51:10 +01:00
parent 20134a3c05
commit 566581139a

View File

@ -17,6 +17,7 @@ daemon is a micro-service providing DNS domains and zones management.
.Op Fl snh .Op Fl snh
.Op Fl v Ar verbosity .Op Fl v Ar verbosity
.Op Fl -project Ar project-name .Op Fl -project Ar project-name
.Op Fl -configuration Ar file
. .
.Op Fl -service-name Ar name .Op Fl -service-name Ar name
.Op Fl -storage-directory Ar path .Op Fl -storage-directory Ar path
@ -154,13 +155,16 @@ Array of String, []
.Bl -tag -width "-t activation-template-name," .Bl -tag -width "-t activation-template-name,"
.It Li -s , --simulation .It Li -s , --simulation
Print configuration then quit. Print configuration then quit.
.
.It Li -n , --no-configuration .It Li -n , --no-configuration
No configuration file should be read. No configuration file should be read.
.
.It Li -v No verbosity , Li --verbosity No level .It Li -v No verbosity , Li --verbosity No level
Verbosity level. From 0 to 4. Default: 4. Verbosity level. From 0 to 4. Default: 4.
.
.It Li --configuration No file
Alternative configuration file.
.It Li --project No project-name .It Li --project No project-name
Project name, used for slotting to enable several instances of Project name, used for slotting to enable several instances of
.Nm authd .Nm authd
@ -169,10 +173,10 @@ Will search in
.Pa $XDG_CONFIG_HOME/baguette/<project-name>/auth.yml .Pa $XDG_CONFIG_HOME/baguette/<project-name>/auth.yml
then then
.Pa /etc/baguette/<project-name>/auth.yml . .Pa /etc/baguette/<project-name>/auth.yml .
.
.It Li -h , --help .It Li -h , --help
Show some help, but won't cover as much as the actual manual. Show some help, but won't cover as much as the actual manual.
.
.It Li --service-name No name .It Li --service-name No name
Name of the Name of the
.Xr libipc 7 .Xr libipc 7