neco-worker
is a daemon program for handle update process.
$ neco-worker [OPTIONS]
When neco-worker
is started at the first time, it compares its debian package
version against the current system version recorded in etcd.
If the version matches, it installs programs as specified in artifacts.go
.
If the fetched version is newer than the current system version, neco-worker
updates itself with the new debian package and retry.
neco-worker
watches etcd for events from neco-updater
.
When there is a new version of neco, it updates itself by installing
the new debian package, then start automatic update process.
It also checks latest GitHub release of debian package such as etcdpasswd
and neco
.
To prevent GitHub rate limits, it is highly recommended that
set personal access token by neco config set github-token TOKEN
.