Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Wiki needs to be updated #75

@kylemd

Description

@kylemd

Just finished installing this on a Raspberry Pi. Thought I'd share so this can be put on the Wiki page.
I know there is likely a more secure way to run this but I figured I'd post to open the dialog anyways.

Where it says to install requirements you need to specify Python 3 pip

sudo pip3 install -r requirements.txt

Make a new systemd service file

[Unit]
Description=7Eleven Fuel Lock
[email protected]

[Service]
Type=simple
ExecStart=/usr/bin/python3 [CLONED DIRECTORY]/app.py
StandardInput=tty-force

[Install]
WantedBy=multi-user.target

Reload systemd services and start it. Double check its' working

sudo systemctl daemon-reload
sudo systemctl enable 7Eleven.service
sudo systemctl start 7Eleven.service
sudo systemctl status 7Eleven.service

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions