From d82eae7034e0de30b5d61294cdb78c3ad8c1bbda Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 13 Apr 2023 20:16:19 +0200 Subject: Automate /var/lib/ceres creation That way only the system user setup and ownership change has to be done by the packager / installer. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 874e606..c8bc5e8 100644 --- a/README.md +++ b/README.md @@ -55,14 +55,14 @@ Make target for installation. Use it for example with a fakeroot: tree fakeroot ``` -Please add a service unit for the init system of your distribution. Furthermore -create the data directory where all recipes will be stored and set appropriate -permissions: +Please add a startup script or service unit for the init system of your +distribution. Furthermore create a system user to run the server and grant him +ownership to the data directory specified in the configuration file (default is +`/var/lib/ceres`): ``` - mkdir /var/lib/ceres + useradd --system ceres chown ceres:ceres /var/lib/ceres - chmod 700 /var/lib/ceres ``` If you want to install Ceres to your system, it is recommended to first do the -- cgit v1.2.3-70-g09d2