Skip to content
Snippets Groups Projects
Commit f334a9bc authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

allows alternative configuration file

parent 294bf4d4
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,9 @@ use Config::Tiny;
use AccountManager::WebRequest;
my $configuration = Config::Tiny->read('@sysconfdir@/manager.conf');
my $configuration_file =
$ENV{ACCOUNTMANAGER_CONFIG} || '@sysconfdir@/manager.conf';
my $configuration = Config::Tiny->read($configuration_file);
my $request = AccountManager::WebRequest->new(
configuration => $configuration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment