Provide a lacre.admin command to initialise or update config #141

Open
opened 2024-02-29 21:29:55 +01:00 by pfm · 0 comments
Collaborator

Examples

Write a new configuration file (assumption: this file should not exist and the command will ensure the file is not already there):

LACRE_CONFIG=/etc/lacre.conf python -m lacre.admin config -i -D sqlite:///lacre.db -L localhost:10025 -G /var/lacre/.gnupg

Update configuration to change a single parameter:

LACRE_CONFIG=/etc/lacre.conf python -m lacre.admin config -u -G /var/lacre/gpg-keyring
# Examples Write a new configuration file (assumption: this file should not exist and the command will ensure the file is not already there): ```sh LACRE_CONFIG=/etc/lacre.conf python -m lacre.admin config -i -D sqlite:///lacre.db -L localhost:10025 -G /var/lacre/.gnupg ``` Update configuration to change a single parameter: ```sh LACRE_CONFIG=/etc/lacre.conf python -m lacre.admin config -u -G /var/lacre/gpg-keyring ```
pfm added the
IDEA
label 2024-02-29 21:29:55 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Disroot/gpg-lacre#141
No description provided.