add sample configs, add rc.conf.d

This commit is contained in:
mykola2312 2025-02-09 22:32:57 +02:00
parent 9c7b70f974
commit 583fa7567d
6 changed files with 29 additions and 0 deletions

2
dist/freebsd/rc.conf.d/lux_host vendored Executable file
View file

@ -0,0 +1,2 @@
lux_host_chdir=/var/lux
lux_host_config=lux-host.xml

2
dist/freebsd/rc.conf.d/lux_node vendored Executable file
View file

@ -0,0 +1,2 @@
lux_node_chdir=/var/lux
lux_node_config=lux-node.xml

14
dist/samples/lux-host.xml vendored Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<host>
<keystore>host-ks.dat</keystore>
<id>{ENTER HOST ID FROM --rpc-new-host}</id>
<hostname>{HOSTNAME}</hostname>
<option type="wan">
<wan method="identme"></wan>
</option>
<heartbeat>1</heartbeat>
<node>
<id>{NODE ID}</id>
<exterior>127.0.0.1:9980</exterior>
</node>
</host>

11
dist/samples/lux-node.xml vendored Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<node>
<keystore>node-ks.dat</keystore>
<id>{ENTER NODE ID FROM --boostrap-node}</id>
<log level="debug"></log>
<rpc>unix://lux-node.sock</rpc>
<dns>127.0.0.1:9953</dns>
<interior>0.0.0.0:9979</interior>
<exterior>0.0.0.0:9980</exterior>
<sync>1</sync>
</node>