Browse Source

run as a service updated for mynode+raspiblitz

push-params
user 4 years ago
parent
commit
809faa94f6
  1. 16
      docs/myNode_deployment.md
  2. 14
      docs/raspiblitz_deployment.md

16
docs/myNode_deployment.md

@ -141,7 +141,7 @@ $ sudo su admin
``` ```
Create a file named sphinx-relay.service Create a file named sphinx-relay.service
```sh ```sh
$ sudo nano /etc/systemd/system/sphinx/sphinx-relay.service $ sudo nano /etc/systemd/system/sphinx-relay.service
``` ```
Copy and paste the following text to add it to the file: Copy and paste the following text to add it to the file:
```sh ```sh
@ -172,17 +172,17 @@ Save and exit:
Let's run! Let's run!
```sh ```sh
$ sudo systemctl enable sphinx-relay.service $ sudo systemctl enable sphinx-relay
$ sudo systemctl start sphinx-relay.service $ sudo systemctl start sphinx-relay
``` ```
Check if Relay successfully started. Check if Relay successfully started.
```sh ```sh
$ sudo systemctl status sphinx-relay.service $ sudo systemctl status sphinx-relay
``` ```
### To stop the program ### To stop the program
```sh ```sh
$ sudo systemctl stop sphinx-relay.service $ sudo systemctl stop sphinx-relay
``` ```
# To update Sphinx-Relay # To update Sphinx-Relay
@ -191,7 +191,7 @@ $ sudo systemctl stop sphinx-relay.service
Login as `admin` and stop the program. Login as `admin` and stop the program.
```sh ```sh
$ sudo systemctl stop sphinx-relay.service $ sudo systemctl stop sphinx-relay
``` ```
login as user `bitcoin`. login as user `bitcoin`.
@ -286,8 +286,8 @@ $ exit
``` ```
Turn the service on and check the status. Turn the service on and check the status.
```sh ```sh
$ sudo systemctl enable sphinx-relay.service $ sudo systemctl enable sphinx-relay
$ sudo systemctl start sphinx-relay.service $ sudo systemctl start sphinx-relay
``` ```
### tail logs ### tail logs

14
docs/raspiblitz_deployment.md

@ -143,7 +143,7 @@ $ sudo su admin
``` ```
Create a file named sphinx-relay.service Create a file named sphinx-relay.service
```sh ```sh
$ sudo nano /etc/systemd/system/sphinx/sphinx-relay.service $ sudo nano /etc/systemd/system/sphinx-relay.service
``` ```
Copy and paste the following text to add it to the file: Copy and paste the following text to add it to the file:
```sh ```sh
@ -174,16 +174,16 @@ Save and exit:
Let's run! Let's run!
```sh ```sh
$ sudo systemctl enable sphinx-relay.service $ sudo systemctl enable sphinx-relay
$ sudo systemctl start sphinx-relay.service $ sudo systemctl start sphinx-relay
``` ```
Check if Relay successfully started. Check if Relay successfully started.
```sh ```sh
$ sudo systemctl status sphinx-relay.service $ sudo systemctl status sphinx-relay
``` ```
### To stop the program ### To stop the program
```sh ```sh
$ sudo systemctl stop sphinx-relay.service $ sudo systemctl stop sphinx-relay
``` ```
# To update Sphinx-Relay # To update Sphinx-Relay
@ -270,8 +270,8 @@ $ exit
``` ```
Turn the service on and check the status. Turn the service on and check the status.
```sh ```sh
$ sudo systemctl enable sphinx-relay.service $ sudo systemctl enable sphinx-relay
$ sudo systemctl start sphinx-relay.service $ sudo systemctl start sphinx-relay
``` ```
### tail logs ### tail logs

Loading…
Cancel
Save