[Unit]
Description=E-Ink Virtual Terminal
After=bluetooth.target multi-user.target
Wants=bluetooth.target

[Service]
Type=simple
User=kacper
WorkingDirectory=/home/kacper/Documents/eink
ExecStart=/usr/bin/python3 /home/kacper/Documents/eink/virtual_terminal_eink.py --no-preview
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal

# Allow access to GPIO/SPI and input devices
SupplementaryGroups=gpio spi input

[Install]
WantedBy=multi-user.target
