aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2023-06-17 19:52:57 -0400
committerpg9182 <96569817+pg9182@users.noreply.github.com>2023-06-17 19:52:57 -0400
commitf6fbcf6fce906a78520364a1a491b68d14190fc3 (patch)
treef254f46e88babb253b5efacd3e7e0ad771b6aad6
parent65fbc1fc3259bacd58d7301cc162ca3efe58897a (diff)
downloadAtlas-f6fbcf6fce906a78520364a1a491b68d14190fc3.tar.gz
Atlas-f6fbcf6fce906a78520364a1a491b68d14190fc3.zip
docs: Add auto-restart to service config
-rw-r--r--docs/PRODUCTION.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/PRODUCTION.md b/docs/PRODUCTION.md
index 5e27ca3..32a4852 100644
--- a/docs/PRODUCTION.md
+++ b/docs/PRODUCTION.md
@@ -275,6 +275,11 @@ This document describes the recommended setup for an non-containerized Atlas ser
LimitNOFILE=32000
LimitNPROC=32000
+ Restart=on-failure
+ RestartSec=15s
+ StartLimitIntervalSec=60
+ StartLimitBurst=4
+
[Install]
WantedBy=multi-user.target
```