This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:mqtt-io [2022/01/22 12:08] Dmitriy [Installation and manual start] |
en:mqtt-io [2022/01/22 12:08] (current) Dmitriy [Run via systemd] |
||
---|---|---|---|
Line 52: | Line 52: | ||
We start the editor: | We start the editor: | ||
- | <codebash> | + | <code bash> |
sudo nano / | sudo nano / | ||
</ | </ | ||
Line 79: | Line 79: | ||
We start the service: | We start the service: | ||
- | <codebash> | + | <code bash> |
sudo systemctl start mqtt-io | sudo systemctl start mqtt-io | ||
</ | </ | ||
Line 85: | Line 85: | ||
Check status/ | Check status/ | ||
- | <codebash> | + | <code bash> |
sudo systemctl status mqtt-io | sudo systemctl status mqtt-io | ||
</ | </ | ||
Line 91: | Line 91: | ||
Add to autoload: | Add to autoload: | ||
- | <codebash> | + | <code bash> |
sudo systemctl enable mqtt-io.service | sudo systemctl enable mqtt-io.service | ||
</ | </ | ||
Line 97: | Line 97: | ||
Let's look at the log: | Let's look at the log: | ||
- | <codebash> | + | <code bash> |
sudo journalctl -u mqtt-io.service -f | sudo journalctl -u mqtt-io.service -f | ||
</ | </ |