Skip to content

Commit

Permalink
When the Main service restart, Gpsd service restart too #94
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefal committed Feb 28, 2022
1 parent 5db1874 commit 5f2dc54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
### Fixed
- Fix the Rinex conversion failure. #206
- Restart Ntrip/Rtcm services after an update. #171
- When the Main service restart, Gpsd service restart too #94

## [2.3.2] - 2022-02-22
### Added
- GUI -> Status: Added a new default map background : Osm "standard", from osm.org.
Expand Down
11 changes: 5 additions & 6 deletions rtkbase_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,18 +138,17 @@ upd_2.2.0() {
}

upd_2.3.0() {
#'nothing to do'
return
upd_2.3.2 "$@"
}

upd_2.3.1() {
#'nothing to do'
return
upd_2.3.2 "$@"
}

upd_2.3.2() {
#nothing to do
return
#Add restart condition in gpsd.service
sed -i '/^ExecStart=.*/a Restart=always' /etc/systemd/system/gpsd.service
sed -i '/^Restart=always.*/a RestartSec=30' /etc/systemd/system/gpsd.service
}

# standard update
Expand Down

0 comments on commit 5f2dc54

Please sign in to comment.