Update 2_installation.md
This commit is contained in:
parent
c50e020f42
commit
941d1dd272
@ -14,22 +14,17 @@ ufw limit ssh/tcp comment 'Rate limit for openssh server'
|
||||
ufw default deny incoming
|
||||
ufw default allow outgoing
|
||||
ufw allow 26656/tcp comment 'JACKAL - Cosmos SDK/Tendermint P2P'
|
||||
ufw allow 26657/tcp comment 'JACKAL - Cosmos SDK/Tendermint P2P'
|
||||
ufw enable
|
||||
```
|
||||
|
||||
### Create Jackal user
|
||||
|
||||
```sh
|
||||
sudo adduser --gecos "" jackal
|
||||
```
|
||||
|
||||
### Creating a Service
|
||||
You may want the daemon to run without you needing to supervise it. To turn the executable into a service follow these steps.
|
||||
|
||||
First create the service file `/etc/systemd/system/jackal.service`
|
||||
First create the service file `/etc/systemd/system/canined.service`
|
||||
|
||||
```sh
|
||||
sudo nano /etc/systemd/system/jackal.service
|
||||
sudo nano /etc/systemd/system/canined.service
|
||||
```
|
||||
|
||||
Copy and paste the follow into the service file: (you may need to edit it if you've set a custom home directory location)
|
||||
@ -61,7 +56,7 @@ sudo systemctl enable canined.service
|
||||
## Building from Source
|
||||
:::tip
|
||||
|
||||
Perform the next follow steps as your `jackal` user
|
||||
Perform the next follow steps as your `jackal` user with 'sudo' permissions
|
||||
|
||||
:::
|
||||
|
||||
@ -78,4 +73,4 @@ make install
|
||||
From there you will be able to use `canined`, ex:
|
||||
```sh
|
||||
canined version
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user