github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/sawtooth-core-master/sdk/python/packaging/path.toml.example (about) 1 # 2 # Copyright 2017 Intel Corporation 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 # ------------------------------------------------------------------------------ 16 17 # 18 # Sawtooth -- Path Configuration 19 # 20 21 22 # Important! 23 # 24 # Configuration using this file is usually unnecessary. For non-standard 25 # directory paths, use of the SAWTOOTH_HOME environment variable is preferred 26 # over use of this configuration file. 27 # 28 # This file should be used when installing on an operating system distribution 29 # and the default paths are not appropriate. For example, some Unix-based 30 # operating systems do not use /var/lib, and therefore configuring data_dir 31 # to the natural operating system default path for application data would be 32 # appropriate. 33 34 35 # This file allows for setting the following: 36 # key_dir - the directory path to use when loading key files 37 # data_dir - the directory path to store data files such as the block store 38 # log_dir - the directory path to write log files 39 # 40 # In addition, the default path examples below include the following path which 41 # may not be modified using this file: 42 # conf_dir - the directory path containing configuration files 43 44 45 # When the SAWTOOTH_HOME environment variable is set, the default paths are as 46 # follows: 47 # 48 # conf_dir = SAWTOOTH_HOME/etc/ 49 # key_dir = SAWTOOTH_HOME/keys/ 50 # data_dir = SAWTOOTH_HOME/data/ 51 # log_dir = SAWTOOTH_HOME/logs/ 52 # 53 # So, for example if SAWTOOTH_HOME is set to a value of /tmp/testing, then the 54 # default for data_dir will be /tmp/testing/data/. 55 # 56 # When the SAWTOOTH_HOME environment variable is not set, then the operating 57 # system defaults are used. 58 59 60 # On Windows, the path is relative to the CLI command being run. The directory 61 # one level up from the command is the 'base_dir'; the command generally being 62 # installed within base_dir/bin/. The rest of the directories are relative to 63 # base_dir: 64 # conf_dir = base_dir\conf\ 65 # key_dir = base_dir\conf\keys\ 66 # data_dir = base_dir\data\ 67 # log_dir = base_dir\logs\ 68 # 69 # For example, if Sawtooth is installed in C:\sawtooth\, the validator 70 # executable would be C:\sawtooth\bin\validator.exe and the data directory 71 # would be C:\sawtooth\data\. 72 73 74 # On Linux, the default path settings are: 75 # 76 # conf_dir = "/etc/sawtooth" 77 # key_dir = "/etc/sawtooth/keys" 78 # data_dir = "/var/lib/sawtooth" 79 # log_dir = "/var/log/sawtooth"