mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 14:42:37 +01:00
Added systemd.service for seednode operation
This commit is contained in:
parent
03db522a11
commit
06d21865b6
2 changed files with 33 additions and 0 deletions
19
seednode/README.md
Normal file
19
seednode/README.md
Normal file
|
@ -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
|
||||
```
|
14
seednode/bisq-seednode.service
Normal file
14
seednode/bisq-seednode.service
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue