Skip to content

Commit

Permalink
Added systemd.service for seednode operation
Browse files Browse the repository at this point in the history
  • Loading branch information
freimair committed Mar 6, 2019
1 parent b4bd290 commit c1fe506
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
19 changes: 19 additions & 0 deletions seednode/README.md
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
```
14 changes: 14 additions & 0 deletions seednode/bisq-seednode.service
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

0 comments on commit c1fe506

Please sign in to comment.