diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-12-12 02:05:03 -0500 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-12-12 02:05:03 -0500 |
commit | ad42f018682f1102f8ccbea2683b55b7b6ce09f7 (patch) | |
tree | f4e78db6e4dcbd9b25ff35e5601532af602f76c2 | |
parent | 3f91a967381bc7ca552127bba33040b8f4e94a96 (diff) | |
download | Atlas-ad42f018682f1102f8ccbea2683b55b7b6ce09f7.tar.gz Atlas-ad42f018682f1102f8ccbea2683b55b7b6ce09f7.zip |
docs: Minor improvements
-rw-r--r-- | docs/PRODUCTION.md | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/docs/PRODUCTION.md b/docs/PRODUCTION.md index 954d1cf..39867ff 100644 --- a/docs/PRODUCTION.md +++ b/docs/PRODUCTION.md @@ -7,6 +7,7 @@ This document describes the recommended setup for an non-containerized Atlas ser | Dependency | Version | Notes | | --- | --- | --- | | go | 1.19+ | | +| git | | for downloading code | | gcc | | other C compilers will work fine | | systemd | 250+ | 250 is needed for credentials to work <br/> 240 is needed for data directory stuff | | logrotate | 3.18.0+ | older versions may also work | @@ -209,7 +210,7 @@ This document describes the recommended setup for an non-containerized Atlas ser } ``` -6. Create the systemd unit: +6. Create the systemd unit. ```bash sudo nano /etc/systemd/system/atlas.service @@ -252,7 +253,7 @@ This document describes the recommended setup for an non-containerized Atlas ser WantedBy=multi-user.target ``` -7. Set up systemd credentials (doing it this way prevents unprivileged users from reading secrets): +7. Set up systemd credentials (doing it this way prevents unprivileged users from reading secrets). ```bash sudo mkdir /etc/systemd/system/atlas.service.d @@ -268,7 +269,7 @@ This document describes the recommended setup for an non-containerized Atlas ser Note: If you make a mistake or need to change the credentials, you'll need to remove the corresponding lines from `credentials.conf`. -8. Set up logrotate (optional): +8. Set up logrotate (optional). ```bash sudo nano /etc/logrotate.d/atlas @@ -296,18 +297,14 @@ This document describes the recommended setup for an non-containerized Atlas ser Note: `delaycompress` is needed to prevent the re-open from being racy. - ```bash - sudo systemctl restart logrotate - ``` - -9. Import data from the old [NorthstarMasterServer](https://github.com/R2Northstar/NorthstarMasterServer) database (optional): +9. Import data from the old [NorthstarMasterServer](https://github.com/R2Northstar/NorthstarMasterServer) database (optional). ```bash sudo mkdir /var/lib/atlas sudo atlas-import --progress /path/to/old/playerdata.db /var/lib/atlas/accounts.db /var/lib/atlas/pdata.db ``` -10. Start atlas: +10. Start atlas. ```bash sudo systemctl daemon-reload |