diff options
author | Daniil Baturin <daniil@baturin.org> | 2017-02-18 10:04:22 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2017-02-18 10:04:22 +0700 |
commit | d498690d867f84c6c48f6e93cbd0a0c0c2909e4f (patch) | |
tree | 7561bba75ec53b792b17a8dd246078c37a8ba289 /src | |
parent | 9359bd5e230d26ced10d167f79714c5a61fd4899 (diff) | |
download | vyconf-d498690d867f84c6c48f6e93cbd0a0c0c2909e4f.tar.gz vyconf-d498690d867f84c6c48f6e93cbd0a0c0c2909e4f.zip |
Make config file path relative to basepath.
Diffstat (limited to 'src')
-rw-r--r-- | src/vyconfd.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vyconfd.ml b/src/vyconfd.ml index c2ca6f7..4058a5b 100644 --- a/src/vyconfd.ml +++ b/src/vyconfd.ml @@ -143,6 +143,7 @@ let make_world config dirs = let () = let () = Arg.parse args (fun f -> ()) usage in + let () = config_file := FP.concat !basepath !config_file in let config = Startup.load_config !config_file in let () = Lwt_log.load_rules ("* -> " ^ config.log_level) in let dirs = Directories.make !basepath config in |