Revision fd346851 daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
965 | 965 |
help="Do not mlock the node memory in ram", |
966 | 966 |
default=True, action="store_false") |
967 | 967 |
|
968 |
dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS] |
|
969 |
dirs.append((constants.LOG_OS_DIR, 0750)) |
|
970 |
dirs.append((constants.LOCK_DIR, 1777)) |
|
971 |
dirs.append((constants.CRYPTO_KEYS_DIR, constants.CRYPTO_KEYS_DIR_MODE)) |
|
972 |
dirs.append((constants.IMPORT_EXPORT_DIR, constants.IMPORT_EXPORT_DIR_MODE)) |
|
973 |
daemon.GenericMain(constants.NODED, parser, dirs, CheckNoded, ExecNoded, |
|
968 |
daemon.GenericMain(constants.NODED, parser, CheckNoded, ExecNoded, |
|
974 | 969 |
default_ssl_cert=constants.NODED_CERT_FILE, |
975 | 970 |
default_ssl_key=constants.NODED_CERT_FILE, |
976 | 971 |
console_logging=True) |
Also available in: Unified diff