display_details.service 355 Bytes
Newer Older
U+039b committed
1 2 3 4 5 6 7 8 9 10 11 12
[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
13 14
RestartSec=2s
Restart=always
U+039b committed
15 16 17 18 19 20
 
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=300
 
[Install]
WantedBy=multi-user.target