starter: Allow specifying the ipsec.conf location in strongswan.conf
This commit is contained in:
committed by
Tobias Brunner
parent
213e02b872
commit
90fe4b3f8a
@@ -1,3 +1,6 @@
|
||||
starter.config_file = ${sysconfdir}/ipsec.conf
|
||||
Location of the ipsec.conf file
|
||||
|
||||
starter.load =
|
||||
Plugins to load in starter.
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user