gs: add systemd service file
This commit is contained in:
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
|
||||||
Reference in New Issue
Block a user