the p2k16-label service currently lives on the server heim, in Elias' home directory. It has a systemd service (label-writer.service), but everything is manually installed. This breaks when we do upgrades. Today I fixed it by manually installing
sudo apt install python3-pil
sudo apt install python3-qrcode
sudo apt install python3-paho-mqtt
sudo pip3 install brother_ql
and restarting the label-writer.service.
Needs fixing:
- make a proper home for it (on heim, under a dedicated user? Or somewhere else?)
- create an ansible role for it
- make sure that all dependencies gets installed