[Unit]
Description=piNail2 Status Display Panel
After=pinail2.service network-online.target
Wants=network-online.target
Requires=pinail2.service

[Service]
Type=simple
User=root
WorkingDirectory=/home/pi/piNail2
ExecStart=/usr/bin/python3 /home/pi/piNail2/tty_status_display.py
Restart=always
RestartSec=5
StandardOutput=tty
StandardError=journal
TTYPath=/dev/tty1
SyslogIdentifier=pinail-status

[Install]
WantedBy=multi-user.target
