display_details.service 347 Bytes
Newer Older
U+039b committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
[Unit]
Description=Display details on the OLED screen 
After=network-online.target
 
[Service]
Type=simple
 
User=pi
Group=pi
UMask=007
 
ExecStart=/usr/bin/python /home/pi/pi-router-oled/screen.py
 
Restart=on-failure
 
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=300
 
[Install]
WantedBy=multi-user.target