diff --git a/seednode/README.md b/seednode/README.md new file mode 100644 index 0000000000..6483a88f77 --- /dev/null +++ b/seednode/README.md @@ -0,0 +1,19 @@ +# Bisq Seed Node + +The distribution ships with a systemd .desktop file. Validate/change the executable/config paths within the shipped `bisq-seednode.service` file and copy/move the file to your systemd directory (something along `/usr/lib/systemd/system/`). Now you can control your *Seed Node* via the usual systemd start/stop commands + +``` +systemctl start bisq-seednode.service +systemctl stop bisq-seednode.service +``` +and +``` +systemctl enable bisq-seednode.service +systemctl disable bisq-seednode.service +``` + +Follow the logs created by the service by inspecting + +``` +journalctl --unit bisq-seednode --follow +``` diff --git a/seednode/bisq-seednode.service b/seednode/bisq-seednode.service new file mode 100644 index 0000000000..095f496875 --- /dev/null +++ b/seednode/bisq-seednode.service @@ -0,0 +1,14 @@ +[Unit] +Description=Bisq Seed Node +After=network.target + +[Service] +Environment="JAVA_OPTS=-Xms800M -Xmx800M" +ExecStart=/home/bisq/bisq/bisq-seednode --appName=seed_BTC_MAINNET --nodePort=8000 --userDataDir=/home/bisq/ --maxConnections=50 --baseCurrencyNetwork=BTC_MAINNET +Restart=on-failure + +User=bisq +Group=bisq + +[Install] +WantedBy=multi-user.target