[Unit] Description=Habit Tracker Web Application After=network.target pigpiod.service Requires=pigpiod.service [Service] Type=simple User=username WorkingDirectory=/home/username/habitTracker ExecStart=/usr/bin/python3 /home/username/habitTracker/habit.py Restart=always RestartSec=3 SupplementaryGroups=spi gpio [Install] WantedBy=multi-user.target