charon-svc: Inherit all settings from the charon section

Same as with charon-systemd.
This commit is contained in:
Tobias Brunner
2016-03-08 10:56:19 +01:00
parent bc4e689db1
commit 2e190dca04
+9
View File
@@ -188,6 +188,15 @@ static int service_wait()
return 0;
}
/**
* Add namespace alias
*/
static void __attribute__ ((constructor))register_namespace()
{
/* inherit settings from charon */
library_add_namespace("charon");
}
/**
* Initialize and run charon using a wait function
*/