summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-13 20:16:19 +0200
committerxengineering <me@xengineering.eu>2023-04-13 20:21:58 +0200
commitd82eae7034e0de30b5d61294cdb78c3ad8c1bbda (patch)
treef44cb92dd6a797545cf9891af00a86516f596ec6 /README.md
parent4ed4b195e9e78d22f9eae0925403de645b5bc30a (diff)
downloadceres-d82eae7034e0de30b5d61294cdb78c3ad8c1bbda.tar
ceres-d82eae7034e0de30b5d61294cdb78c3ad8c1bbda.tar.zst
ceres-d82eae7034e0de30b5d61294cdb78c3ad8c1bbda.zip
Automate /var/lib/ceres creation
That way only the system user setup and ownership change has to be done by the packager / installer.
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
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