starter: Allow specifying the ipsec.conf location in strongswan.conf

This commit is contained in:
Shea Levy
2014-10-02 14:33:08 +02:00
committed by Tobias Brunner
parent 213e02b872
commit 90fe4b3f8a
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -1,3 +1,6 @@
starter.config_file = ${sysconfdir}/ipsec.conf
Location of the ipsec.conf file
starter.load =
Plugins to load in starter.
+2 -1
View File
@@ -489,7 +489,8 @@ int main (int argc, char **argv)
}
if (!config_file)
{
config_file = CONFIG_FILE;
config_file = lib->settings->get_str(lib->settings,
"starter.config_file", CONFIG_FILE);
}
init_log("ipsec_starter");