Infra:Doorduino

From Pixelbar Wiki
Revision as of 17:04, 7 June 2020 by Pixadmin (talk | contribs) (Created page with "== Doorduino@Pixelbar == We use doorduino! Yay == Service on raspi == We use the systemd way of starting doorduino as described on: https://github.com/revspace/doorduino h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Doorduino@Pixelbar

We use doorduino! Yay

Service on raspi

We use the systemd way of starting doorduino as described on: [https://github.com/revspace/doorduino]

  • Start doorduino with the following command:
systemctl start doorduino@frontdoor && systemctl start doorduino@spacedoor

or just use 1 of the commands if you only want to start one of the doorduino processes.
  • Stop doorduino with the following command:
systemctl stop doorduino@frontdoor && systemctl stop doorduino@spacedoor

or just use 1 of the commands if you only want to stop one of the doorduino processes.
  • Read logging:
tail -f /var/log/doorduino ( for last 10 lines of logging, following new logs )
tail -f /var/log/doorduino -n 1000 ( for last 1000 lines of logging, following new logs )