-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update binary from cli #52
Comments
Auto update is a complex process: if new version has new configuration properties, there must be always a default value. Or configuration file must be versioned. If update fails, last version should be restored, otherwise you will lost your DNS resolver and this is a very critical component in the network. I would always prefer to update critical components manually and check if configuration file must be updated too. |
I agree with all your concerns regarding auto update, but the risks are something I'm personally prepared to live with. I was hoping to avoid docker for... reasons - but I will consider it at least. |
I will close this issue, this topic is out of scope of this project and will introduce a lot of complexity. I think, the right way to achieve this (if you don't want to use docker), would be to create a OS specific package (DEB/RPM, AUR (archlinux), snap, Windows installer ...). This would create all OS dependent configurations and services (autostart, firewall etc). |
@broizter I'll be adding support for this application in the next update of |
@WhaleHub Awesome! |
Would be nice to be able to update the binary from the cli, something like this for example;
Bonus points if we could execute a command depending on if the update succeeded or not. For example I run Blocky from a systemd service file I made so I would wanna restart that if the update succeded. I guess you could configure that in the .yml file.
The text was updated successfully, but these errors were encountered: