v0.3.226.9 MB
unset
strict
core22
Suite of network services for SysOTA
NetOTA provides a pair of utilities for working with SysOTA repositories.
The repository is stored in
with a single package and several streams is copied there for to illustrate
the data structures. The repository should be removed and replaced with a git
checkout. Updates to the repository should be performed by pulling changes.
This allows working with changes more easily, including reverting faulty
updates.
The systemd service
changes to the repository and serve new content. Alternatively, the
signal may be sent to the service to achieve in-place replacement without
downtime. If the new repository is malformed, old repository is served and
an error is logged to the system journal.
The address at which NetOTA listens on is managed by the snap configuration
system. By default that is
To use NetOTA without a reverse proxy you must set the IP to listen to to the
desired IP (or 0.0.0.0 to listen on all the interfaces). This can be done
with
Please make sure to include the port to listen on as well.
The repository is stored in
$SNAP_COMMON/repository, or
/var/snap/netota/common/repository. Upon installation, a sample repositorywith a single package and several streams is copied there for to illustrate
the data structures. The repository should be removed and replaced with a git
checkout. Updates to the repository should be performed by pulling changes.
This allows working with changes more easily, including reverting faulty
updates.
The systemd service
snap.netota.netotad.service can be restarted to verifychanges to the repository and serve new content. Alternatively, the
SIGHUPsignal may be sent to the service to achieve in-place replacement without
downtime. If the new repository is malformed, old repository is served and
an error is logged to the system journal.
The address at which NetOTA listens on is managed by the snap configuration
system. By default that is
localhost and port 8000.To use NetOTA without a reverse proxy you must set the IP to listen to to the
desired IP (or 0.0.0.0 to listen on all the interfaces). This can be done
with
snap set netota address=...Please make sure to include the port to listen on as well.
Update History
v0.3.2 (2)13 Dec 2025, 09:47 UTC
27 Sept 2022, 21:21 UTC
28 Sept 2022, 06:17 UTC
13 Dec 2025, 09:47 UTC