This repository was archived by the owner on Jul 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separated radiotracking from config module
- Loading branch information
1 parent
05aed0a
commit f79d67e
Showing
4 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[Unit] | ||
Description=RadioTracking Configuration | ||
After=network.target mosquitto.service time-sync.target hostname-config.service | ||
|
||
StartLimitIntervalSec=600 | ||
StartLimitAction=reboot | ||
|
||
[Service] | ||
ExecStart=bash -c "/usr/bin/python3 -m radiotracking.config --config /boot/radiotracking.ini --station `hostname` --dashboard --dashboard-host localhost --dashboard-port 8050 --mqtt --mqtt-host localhost --mqtt-port 1883 --csv --export-config --path /data" | ||
Restart=always | ||
RestartSec=10s | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
|
Submodule pyradiotracking
updated
3 files
+2 −2 | radiotracking/__main__.py | |
+17 −0 | radiotracking/config.py | |
+150 −121 | radiotracking/present.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters