Loading etc/norns.conf.in +3 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,9 @@ global_settings: [ # path to pidfile pidfile: "@localstatedir@/urd.pid", # address to bind to bind_address: "127.0.0.1", # incoming port for remote connections remote_port: 42000, Loading src/Makefile.am +1 −0 Original line number Diff line number Diff line Loading @@ -247,6 +247,7 @@ config/defaults.cpp: Makefile \ echo " const char* global_socket = \"$(localstatedir)/global.socket.2\";"; \ echo " const char* control_socket = \"$(localstatedir)/control.socket.2\";"; \ echo " const char* bind_address = \"127.0.0.1\";"; \ echo " const in_port_t remote_port = 42000;"; \ echo " const char* pidfile = \"$(localstatedir)/urd.pid\";"; \ \ Loading src/config/config-schema.hpp +4 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,10 @@ const file_schema valid_options = declare_file({ opt_type::mandatory, converter<bfs::path>(parsers::parse_path)), declare_option<std::string>( keywords::bind_address, opt_type::mandatory), declare_option<uint32_t>( keywords::remote_port, opt_type::mandatory, Loading src/config/defaults.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ namespace defaults { extern const uint32_t dry_run_duration; extern const char* global_socket; extern const char* control_socket; extern const char* bind_address; extern const in_port_t remote_port; extern const char* pidfile; extern const uint32_t workers_in_pool; Loading src/config/keywords.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ constexpr static const auto log_file_max_size = "log_file_max_size"; constexpr static const auto dry_run = "dry_run"; constexpr static const auto global_socket = "global_socket"; constexpr static const auto control_socket = "control_socket"; constexpr static const auto bind_address = "bind_address"; constexpr static const auto remote_port = "remote_port"; constexpr static const auto pidfile = "pidfile"; constexpr static const auto workers = "workers"; Loading Loading
etc/norns.conf.in +3 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,9 @@ global_settings: [ # path to pidfile pidfile: "@localstatedir@/urd.pid", # address to bind to bind_address: "127.0.0.1", # incoming port for remote connections remote_port: 42000, Loading
src/Makefile.am +1 −0 Original line number Diff line number Diff line Loading @@ -247,6 +247,7 @@ config/defaults.cpp: Makefile \ echo " const char* global_socket = \"$(localstatedir)/global.socket.2\";"; \ echo " const char* control_socket = \"$(localstatedir)/control.socket.2\";"; \ echo " const char* bind_address = \"127.0.0.1\";"; \ echo " const in_port_t remote_port = 42000;"; \ echo " const char* pidfile = \"$(localstatedir)/urd.pid\";"; \ \ Loading
src/config/config-schema.hpp +4 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,10 @@ const file_schema valid_options = declare_file({ opt_type::mandatory, converter<bfs::path>(parsers::parse_path)), declare_option<std::string>( keywords::bind_address, opt_type::mandatory), declare_option<uint32_t>( keywords::remote_port, opt_type::mandatory, Loading
src/config/defaults.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ namespace defaults { extern const uint32_t dry_run_duration; extern const char* global_socket; extern const char* control_socket; extern const char* bind_address; extern const in_port_t remote_port; extern const char* pidfile; extern const uint32_t workers_in_pool; Loading
src/config/keywords.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ constexpr static const auto log_file_max_size = "log_file_max_size"; constexpr static const auto dry_run = "dry_run"; constexpr static const auto global_socket = "global_socket"; constexpr static const auto control_socket = "control_socket"; constexpr static const auto bind_address = "bind_address"; constexpr static const auto remote_port = "remote_port"; constexpr static const auto pidfile = "pidfile"; constexpr static const auto workers = "workers"; Loading