[Unit]
Description=piNail Hourly News Briefing Display
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=root
WorkingDirectory=/home/pi/piNail2
ExecStart=/usr/bin/python3 /home/pi/piNail2/tty_briefing.py
Restart=always
RestartSec=10
StandardOutput=tty
StandardError=file:/tmp/briefing.log
TTYPath=/dev/tty1
SyslogIdentifier=pinail-briefing

[Install]
WantedBy=multi-user.target
