]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
conf: Replace hard-coded /etc where appropriate
authorTobias Brunner <tobias@strongswan.org>
Mon, 16 Jan 2023 10:35:42 +0000 (11:35 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 16 Jan 2023 10:36:58 +0000 (11:36 +0100)
Also document the actual value of ${sysconfdir}.

conf/options/charon.opt
conf/plugins/unbound.opt
conf/strongswan.conf.5.tail.in

index 00949222a76472123521b1992d3633473096e8f8..72efd17de2f44b18f82fb5dccc642167336b27b2 100644 (file)
@@ -38,8 +38,8 @@ charon.cert_cache = yes
 charon.cache_crls = no
        Whether Certificate Revocation Lists (CRLs) fetched via HTTP or LDAP should
        be saved under a unique file name derived from the public key of the
-       Certification Authority (CA) to **/etc/ipsec.d/crls** (stroke) or
-       **/etc/swanctl/x509crl** (vici), respectively.
+       Certification Authority (CA) to **${sysconfdir}/ipsec.d/crls** (stroke) or
+       **${sysconfdir}/swanctl/x509crl** (vici), respectively.
 
 charon.check_current_path = no
        Whether to use DPD to check if the current path still works after any
index f8ca9ca12a00b9bc1dc3a9df59821a7ffab9325d..0077973109c0552201a37b8d23e4d167479e5706 100644 (file)
@@ -1,7 +1,7 @@
 charon.plugins.unbound.resolv_conf = /etc/resolv.conf
        File to read DNS resolver configuration from.
 
-charon.plugins.unbound.trust_anchors = /etc/ipsec.d/dnssec.keys
+charon.plugins.unbound.trust_anchors = ${sysconfdir}/ipsec.d/dnssec.keys
        File to read DNSSEC trust anchors from (usually root zone KSK).
 
        File to read DNSSEC trust anchors from (usually root zone KSK). The format
index baad476d1fc603f63c09e59312c01c0dd0368b53..a6c1c787e33c30587563ac08f85e43dbaf278fca 100644 (file)
@@ -458,6 +458,7 @@ The variables used above are configured as follows:
 .na
 ${piddir}               @piddir@
 ${prefix}               @prefix@
+${sysconfdir}           @sysconfdir@
 ${random_device}        @random_device@
 ${urandom_device}       @urandom_device@
 .ad
@@ -467,9 +468,9 @@ ${urandom_device}       @urandom_device@
 .
 .nf
 .na
-/etc/strongswan.conf       configuration file
-/etc/strongswan.d/         directory containing included config snippets
-/etc/strongswan.d/charon/  plugin specific config snippets
+@sysconfdir@/strongswan.conf       configuration file
+@sysconfdir@/strongswan.d/         directory containing included config snippets
+@sysconfdir@/strongswan.d/charon/  plugin specific config snippets
 .ad
 .fi
 .