Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
Update testnet.md
Browse files Browse the repository at this point in the history
  • Loading branch information
realsetvin authored Mar 27, 2024
1 parent 8f4e0b0 commit b26f29b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ sudo apt-get install curl build-essential libtool autotools-dev automake pkg-con
### Create VKAX User
Run the below commands in a terminal console one at a time. We will need to create a new **User** to run the daemon. (You can give it any password or press **enter** to skip.)
```
sudo adduser vkax
sudo adduser vkax-test
```
**Login** as the VKAX user
```
sudo su vkax
sudo su vkax-test
```
<br/>

Expand Down Expand Up @@ -70,9 +70,9 @@ sudo su

**Create** and **Enable** the systemd service
```
sudo touch /etc/systemd/system/vkax.service
sudo echo -e "[Unit]\nDescription=vkax daemon control service\n\n[Service]\nType=forking\nRestart=on-failure\nRestartSec=50s\nExecStartPre=/bin/sleep 5\nWorkingDirectory=/home/vkax/.vkaxcore/\nExecStart=/home/vkax/.vkaxcore/vkaxd\nRemainAfterExit=yes\n\n[Install]\nWantedBy=multi-user.target" >> /etc/systemd/system/vkax.service
sudo systemctl enable vkax
sudo touch /etc/systemd/system/vkax-test.service
sudo echo -e "[Unit]\nDescription=vkax test daemon control service\n\n[Service]\nType=forking\nRestart=on-failure\nRestartSec=50s\nExecStartPre=/bin/sleep 5\nWorkingDirectory=/home/vkax-test/.vkaxcore/\nExecStart=/home/vkax-test/.vkaxcore/vkaxd\nRemainAfterExit=yes\n\n[Install]\nWantedBy=multi-user.target" >> /etc/systemd/system/vkax-test.service
sudo systemctl enable vkax-test
```
<br/>

Expand All @@ -84,5 +84,5 @@ sudo reboot

We can **Watch** the **Status** of our daemon at any time with the following command
```
watch systemctl status vkax
watch systemctl status vkax-test
```

0 comments on commit b26f29b

Please sign in to comment.