mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Move example location of config files to /etc
* Move example and integration test configuration files to /etc/csaf, this includes the provider's config.toml as well as the test OpenPGP keys. This shall make it more compatible with good practices like the FHS. Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de> Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
This commit is contained in:
parent
a84afa35cd
commit
5716374eac
4 changed files with 16 additions and 27 deletions
|
|
@ -23,7 +23,7 @@ import (
|
|||
const (
|
||||
// The environment name, that contains the path to the config file.
|
||||
configEnv = "CSAF_CONFIG"
|
||||
configPrefix = "/usr/lib/csaf"
|
||||
configPrefix = "/etc/csaf"
|
||||
defaultConfigPath = configPrefix + "/config.toml" // Default path to the config file.
|
||||
defaultOpenPGPPrivateKey = configPrefix + "/openpgp_private.asc"
|
||||
defaultOpenPGPPublicKey = configPrefix + "/openpgp_public.asc"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue