[Unit] Description=LED Matrix Web Interface Service After=network.target [Service] Type=simple User=root WorkingDirectory=/home/ledpi/LEDMatrix Environment=USE_THREADING=1 ExecStart=/usr/bin/python3 /home/ledpi/LEDMatrix/start_web_conditionally.py Restart=on-failure RestartSec=10 StandardOutput=syslog StandardError=syslog SyslogIdentifier=ledmatrix-web [Install] WantedBy=multi-user.target