diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-12-07 23:00:50 -0500 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-12-07 23:00:50 -0500 |
commit | a21478479bd17a515662586b029ef6ac443f3ca4 (patch) | |
tree | 78a1eb89217ac8ab7d9e8e4b690087b4bd2957bd | |
parent | 4cc8a88c6eeb54e3acba85a8a42101ef56f09aef (diff) | |
download | Atlas-a21478479bd17a515662586b029ef6ac443f3ca4.tar.gz Atlas-a21478479bd17a515662586b029ef6ac443f3ca4.zip |
docs: Use systemd-sysusers
-rw-r--r-- | docs/PRODUCTION.md | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/PRODUCTION.md b/docs/PRODUCTION.md index dfb70e5..a44a891 100644 --- a/docs/PRODUCTION.md +++ b/docs/PRODUCTION.md @@ -50,8 +50,15 @@ This document describes the recommended setup for an non-containerized Atlas ser 4. Set up the Atlas service user and group. ```bash - # create the user/group - sudo useradd --system --shell /usr/sbin/nologin --home-dir /var/lib/atlas atlas + sudo nano /etc/sysusers.d/atlas.conf + ``` + + ``` + u atlas - "Atlas" /var/lib/atlas /usr/sbin/nologin + ``` + + ```bash + sudo systemd-sysusers ``` ```bash |