aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2022-12-07 23:00:50 -0500
committerpg9182 <96569817+pg9182@users.noreply.github.com>2022-12-07 23:00:50 -0500
commita21478479bd17a515662586b029ef6ac443f3ca4 (patch)
tree78a1eb89217ac8ab7d9e8e4b690087b4bd2957bd
parent4cc8a88c6eeb54e3acba85a8a42101ef56f09aef (diff)
downloadAtlas-a21478479bd17a515662586b029ef6ac443f3ca4.tar.gz
Atlas-a21478479bd17a515662586b029ef6ac443f3ca4.zip
docs: Use systemd-sysusers
-rw-r--r--docs/PRODUCTION.md11
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