CanBoot
CanBoot copied to clipboard
CanBoot Moonraker Update Manager
Hello,
maybe an update manager entry would be a cool feature, but I'm not sure if it would be such a useful feature, CanBoot updates should happen very rarely.
As you mentioned, it probably isn't something that needs updating often. However it should be fairly simple to add an entry:
[update_manager CanBoot]
type: git_repo
origin: https://github.com/Arksine/CanBoot.git
path: ~/CanBoot
This assumes that you have the repo cloned at ~/CanBoot
. One thing to keep in mind is that paths are case sensitive.
The only line I would add is the "is_system_service" line below. Testing this out and CanBoot was updating properly, but was giving an error due to trying to restart a service that doesn't exist.
[update_manager CanBoot]
type: git_repo
origin: https://github.com/Arksine/CanBoot.git
path: ~/CanBoot
is_system_service: False
Cool, thanks for the information.
The only line I would add is the "is_system_service" line below. Testing this out and CanBoot was updating properly, but was giving an error due to trying to restart a service that doesn't exist.
[update_manager CanBoot] type: git_repo origin: https://github.com/Arksine/CanBoot.git path: ~/CanBoot is_system_service: False
Thats why i opened a ticket, i didn't know that there is such an option, thank you.
The Moonraker information and documentation can be found here.
https://github.com/Arksine/moonraker
How does this work with katapult?
How does this work with katapult? In my config: [update_manager canboot] type: git_repo origin: https://github.com/Arksine/CanBoot.git path: ~/CanBoot is_system_service: False I still had canboot installed :)
Presuming a new clone of Katapult in the home directory the following should work:
[update_manager katapult]
type: git_repo
origin: https://github.com/Arksine/katapult.git
path: ~/katapult
is_system_service: False