1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-05 21:45:43 +01:00

4 Commits

Author SHA1 Message Date
Aravinda VK
049ba9f8ed config: removed default configuration file
To view the default values run `glusterd2 --help`

Signed-off-by: Aravinda VK <avishwan@redhat.com>
2018-05-24 19:05:25 +05:30
Aravinda VK
a565046e6f Configuration improvements
If `PREFIX` is `/usr` then `logdir`, `rundir` and `localstatedir`
should not contain the prefix.

**Global default configuration**: Based on the `--prefix` used during
installation/make global config should be installed in
`$PREFIX/etc/glusterfs/glusterd2.toml`. All the default values from
code should be moved to this file.

**Removed logic to pick config file from current directory**: Since
Glusterd2 will be run as daemon or background process, automatically
picking config file from current directory will add confusion to
users. For development, if global config file not exists then it loads
config file from the current directory.

**Config file as argument**: Glusterd2 applies global configurations
first and then applies this configuration to overwrite the values
if any.

Signed-off-by: Aravinda VK <avishwan@redhat.com>
2018-05-22 11:41:24 +05:30
Kaushal M
c3a4a95726 Correctly prepare standard path variables in make 2018-01-12 11:01:43 +05:30
Kaushal M
105b91273f Improve Makefile build and install targets 2017-10-10 20:00:10 +05:30