-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added systemd.service for seednode operation
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |