diff options
-rw-r--r-- | README.md | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -79,6 +79,29 @@ The used `config/debug.json` config file is only for debugging. If you want to run it as a server, have a look at the `config/default.json` file. +## Packaging and Installation + +If you want to package Ceres for a Linux distribution, feel free to use the +Make target for installation. Use it for example with a fakeroot: + +``` + mkdir fakeroot + make DESTDIR=fakeroot install + tree fakeroot +``` + +Please add a service unit for the init system of your distribution. + +If you want to install Ceres to your system, it is recommended to first do the +packaging. One reason is that there is no uninstall Make target. This would +have to be tested and package managers are way better in cleanly remove stuff +from your system. + +If you insist to install it without an uninstall option, run `make install` +with root rights and write a service unit or something else to run the +executable at boot. + + [1]: https://xengineering.eu/git/ceres [2]: ./CHANGELOG.md [3]: https://mariadb.com/ |