Clean up code

This commit is contained in:
Mike Cifelli 2023-01-05 19:32:17 -05:00
parent 88f5086701
commit 2b8d46aa5f
4 changed files with 0 additions and 8 deletions

1
.gitignore vendored
View File

@ -1,6 +1,5 @@
__pycache__/ __pycache__/
*.swp *.swp
*.tmp
garage.cfg garage.cfg
www/* www/*
!www/.gitkeep !www/.gitkeep

View File

@ -2,9 +2,6 @@
## Dependencies ## Dependencies
``` ```
sudo raspi-config nonint do_spi 0
sudo apt install python3-pip python3-dev python3-spidev
sudo pip3 install unicornhathd
``` ```
## Configuration ## Configuration

View File

@ -1,12 +1,9 @@
import json import json
import requests import requests
import sys
from configparser import ConfigParser from configparser import ConfigParser
from gpiozero import Button from gpiozero import Button
from signal import pause from signal import pause
from signal import signal
from signal import SIGTERM
from threading import Lock from threading import Lock
threadLock = Lock() threadLock = Lock()

View File

@ -4,7 +4,6 @@ After=multi.user.target
[Service] [Service]
Type=simple Type=simple
KillMode=mixed
WorkingDirectory=$workingDirectory WorkingDirectory=$workingDirectory
ExecStart=$execStart ExecStart=$execStart
Restart=on-failure Restart=on-failure