ptx2 / gymnasticon

Make obsolete and/or proprietary exercise bikes work with popular cycling training apps like Zwift, TrainerRoad, Rouvy and more.

Home Page:https://ptx2.net/posts/unbricking-a-bike-with-a-raspberry-pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding gymnasticon.json to boot makes 2 gymnasticon services run at startup

nealjane opened this issue · comments

I know this is a work in progress as you’re both adding stuff on a daily basis and it’s not a big issue- more of a comment.
Current image 1.4 with keiser added written to sd card and gymnasticon.json added for keiser bike before first boot makes 2 gymnasticon services run on boot
(I’m assuming that’s the case - SSH login it’s shows the gymnasticon logo twice on the screen.)
Thanks for all the work on this to you both @ptx2 @chriselsen it’s working great.

There are actually two gymnasticon services that get started on boot:

  • gymnasticon-mods: That service pulls in the JSON config file from /boot to /etc. It should terminate very shortly after boot.
  • gymnasticon: The actual service that runs the "gymnasticon" binary.

After login you can check with ps ax if there is more than 1x gymnasticon process running.

Will need on check the 1.4 image to see about the SSH login. The gymnasticon icon comes from the /etc/motd file and I haven't seen any changes to that file.