File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed
Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ [Desktop Entry]
2+ Type =Application
3+ Exec =firefox http://localhost:8080
4+ Hidden =false
5+ NoDisplay =false
6+ X-GNOME-Autostart-enabled =true
7+ Name =Start Firefox on Localhost
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =Run Python script and open browser on boot
3+ After =network.target
4+
5+ [Service]
6+ Environment ="PATH=/home/base/irnas-locave-software/env/bin"
7+ ExecStart =/home/base/irnas-locave-software/env/bin/python /home/base/irnas-locave-software/protocol-serial-bridge.py --service --port /dev/ttyUSB0 --baud 115200
8+ Restart =always
9+ RestartSec =5
10+ User =base
11+ WorkingDirectory =/home/base/irnas-locave-software
12+ StandardOutput =journal
13+ StandardError =journal
14+
15+ [Install]
16+ WantedBy =multi-user.target
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ git pull && npm run build --prefix flash-ui
4+
5+ sudo systemctl restart locave.service
You can’t perform that action at this time.
0 commit comments