From 583fa7567dc1b39914e423ca2b804cc080823c36 Mon Sep 17 00:00:00 2001
From: mykola2312 <49044616+mykola2312@users.noreply.github.com>
Date: Sun, 9 Feb 2025 22:32:57 +0200
Subject: [PATCH] add sample configs, add rc.conf.d
---
dist/freebsd/rc.conf.d/lux_host | 2 ++
dist/freebsd/rc.conf.d/lux_node | 2 ++
dist/freebsd/{ => rc.d}/lux_host | 0
dist/freebsd/{ => rc.d}/lux_node | 0
dist/samples/lux-host.xml | 14 ++++++++++++++
dist/samples/lux-node.xml | 11 +++++++++++
6 files changed, 29 insertions(+)
create mode 100755 dist/freebsd/rc.conf.d/lux_host
create mode 100755 dist/freebsd/rc.conf.d/lux_node
rename dist/freebsd/{ => rc.d}/lux_host (100%)
rename dist/freebsd/{ => rc.d}/lux_node (100%)
create mode 100644 dist/samples/lux-host.xml
create mode 100644 dist/samples/lux-node.xml
diff --git a/dist/freebsd/rc.conf.d/lux_host b/dist/freebsd/rc.conf.d/lux_host
new file mode 100755
index 0000000..1f18601
--- /dev/null
+++ b/dist/freebsd/rc.conf.d/lux_host
@@ -0,0 +1,2 @@
+lux_host_chdir=/var/lux
+lux_host_config=lux-host.xml
diff --git a/dist/freebsd/rc.conf.d/lux_node b/dist/freebsd/rc.conf.d/lux_node
new file mode 100755
index 0000000..7917b92
--- /dev/null
+++ b/dist/freebsd/rc.conf.d/lux_node
@@ -0,0 +1,2 @@
+lux_node_chdir=/var/lux
+lux_node_config=lux-node.xml
diff --git a/dist/freebsd/lux_host b/dist/freebsd/rc.d/lux_host
similarity index 100%
rename from dist/freebsd/lux_host
rename to dist/freebsd/rc.d/lux_host
diff --git a/dist/freebsd/lux_node b/dist/freebsd/rc.d/lux_node
similarity index 100%
rename from dist/freebsd/lux_node
rename to dist/freebsd/rc.d/lux_node
diff --git a/dist/samples/lux-host.xml b/dist/samples/lux-host.xml
new file mode 100644
index 0000000..d3c7fea
--- /dev/null
+++ b/dist/samples/lux-host.xml
@@ -0,0 +1,14 @@
+
+
+ host-ks.dat
+ {ENTER HOST ID FROM --rpc-new-host}
+ {HOSTNAME}
+
+ 1
+
+ {NODE ID}
+ 127.0.0.1:9980
+
+
diff --git a/dist/samples/lux-node.xml b/dist/samples/lux-node.xml
new file mode 100644
index 0000000..83b89ab
--- /dev/null
+++ b/dist/samples/lux-node.xml
@@ -0,0 +1,11 @@
+
+
+ node-ks.dat
+ {ENTER NODE ID FROM --boostrap-node}
+
+ unix://lux-node.sock
+ 127.0.0.1:9953
+ 0.0.0.0:9979
+ 0.0.0.0:9980
+ 1
+