gs: add systemd service file
This commit is contained in:
parent
4f47712d27
commit
e1c38f4dc7
15
rcrf-gs.service
Normal file
15
rcrf-gs.service
Normal file
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=rcrf ground station
|
||||
After=network-online.target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
RemainAfterExit=yes
|
||||
WorkingDirectory=/opt/rfrc-wifi
|
||||
ExecStart=/usr/bin/python3 /opt/rfrc-wifi/ground-station.py
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
Loading…
x
Reference in New Issue
Block a user