diff --git a/.gitignore b/.gitignore index 03ea543..46249cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ __pycache__/ *.swp -*.tmp garage.cfg www/* !www/.gitkeep diff --git a/README.md b/README.md index 8afe482..cae4f4e 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,6 @@ ## Dependencies ``` -sudo raspi-config nonint do_spi 0 -sudo apt install python3-pip python3-dev python3-spidev -sudo pip3 install unicornhathd ``` ## Configuration diff --git a/garage.py b/garage.py index dbb2893..49d9fab 100644 --- a/garage.py +++ b/garage.py @@ -1,12 +1,9 @@ import json import requests -import sys from configparser import ConfigParser from gpiozero import Button from signal import pause -from signal import signal -from signal import SIGTERM from threading import Lock threadLock = Lock() diff --git a/garage.service b/garage.service index 01e1b6d..f9cb0c0 100644 --- a/garage.service +++ b/garage.service @@ -4,7 +4,6 @@ After=multi.user.target [Service] Type=simple -KillMode=mixed WorkingDirectory=$workingDirectory ExecStart=$execStart Restart=on-failure