Skip to content

p2k16-label: the service needs a proper home, and needs to be in our ansible setup #19

@tingox

Description

@tingox

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions