Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include "ChronyConfigurer.hpp"
#include "core/CSystem.hpp"
#include "core/ipUtils.hpp"
#include <fmt/format.h>
#include <fstream>
Namespaces | |
namespace | iv |
namespace | iv::auxiliary |
namespace | iv::auxiliary::chrony |
Functions | |
bool | iv::auxiliary::chrony::configureChrony (std::shared_ptr< iv::diamar::Stations > stations, std::string &errorMessage, iv::types::stationId stationId) |
bool | iv::auxiliary::chrony::isChronyRunning () |
Variables | |
static constexpr std::string_view | CONFIG_EXTERNAL_TIME_SERVERS |
static constexpr std::string_view | ALLOW_NETWORKS_HEARDER = "# Allow communication through subnetworks\n" |
static constexpr std::string_view | ALLOW_NETWORK_SYNC = "allow {}/24\n" |
static constexpr std::string_view | DEFINE_SERVER_HEADER = "# Define servers\n" |
static constexpr std::string_view | DEFINE_SERVER |
static constexpr std::string_view | MAKESTEP_CONFIG = "makestep 1 -1\n" |
static constexpr std::string_view | STAGING_CHRONY_CONFIG_FILE = "/tmp/chrony.conf" |
static constexpr std::string_view | CHRONY_CONFIG_FILE = "/etc/chrony/chrony.conf" |
static constexpr std::string_view | OTHER_CONFIG_HEADER = "# Other configuration\n" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |