peach-devdocs/src/software/packaging.md

864 B

Debian Packaging

The microservices comprising the PeachCloud software suite are packaged for easy deployment and maintainance on Debian and derivative operating systems.

Each microservice repository includes a debian directory which includes a systemd service file and Debian maintainer scripts, including postinst, postrm and prerm scripts. These scripts define behavior for installing and uninstalling the respective services. deb packages are created using the cargo-deb tool (crate).

Microservices can be installed with dpkg as follows:

sudo dpkg -i peach-network_0.1.0_arm64.deb

The service will be automatically enabled and started.

Uninstall the service:

sudo apt-get remove peach-network

Remove configuration files (not removed with apt-get remove):

sudo apt-get purge peach-network