Skip to content

Commit

Permalink
docs: run as systemd service
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs committed Apr 7, 2024
1 parent 21f3b31 commit 6bad7b8
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions README.with-advanced-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,26 @@ sh scripts/add_vesting_accounts_to_genesis_file.sh
rollappd start
```

or as a systemd service:

```shell
sudo tee /etc/systemd/system/rollapp.service > /dev/null <<EOF
[Unit]
Description=rollapp
After=network.target
[Service]
Type=simple
User=$USER
ExecStart=$(which rollappd) start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
```

## Setup IBC between rollapp and local dymension hub node

### Install dymension relayer
Expand All @@ -199,6 +219,26 @@ After successful run, the new established channels will be shown
rly start hub-rollapp
```

or as a systemd service:

```shell
sudo tee /etc/systemd/system/relayer.service > /dev/null <<EOF
[Unit]
Description=rollapp
After=network.target
[Service]
Type=simple
User=$USER
ExecStart=$(which rly) start hub-rollapp
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
```


## Developers guide

TODO

0 comments on commit 6bad7b8

Please sign in to comment.