From 652628e3caffb1c065e8f54ec2052f7777f107e8 Mon Sep 17 00:00:00 2001 From: pg9182 <96569817+pg9182@users.noreply.github.com> Date: Thu, 5 Jan 2023 19:44:40 -0500 Subject: docs: Add production config for ATLAS_API0_MAINMENUPROMOS_UPDATENEEDED --- docs/PRODUCTION.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/PRODUCTION.md b/docs/PRODUCTION.md index 7c63b7e..504b1ca 100644 --- a/docs/PRODUCTION.md +++ b/docs/PRODUCTION.md @@ -158,6 +158,7 @@ This document describes the recommended setup for an non-containerized Atlas ser ATLAS_API0_STORAGE_ACCOUNTS=sqlite3:/var/lib/atlas/accounts.db ATLAS_API0_STORAGE_PDATA=sqlite3:/var/lib/atlas/pdata.db ATLAS_API0_MAINMENUPROMOS=file:/etc/atlas/mainmenupromos.json + ATLAS_API0_MAINMENUPROMOS_UPDATENEEDED=file:/etc/atlas/mainmenupromos_updateneeded.json # origin (the account MUST have app-based two-factor authentication set up) ATLAS_ORIGIN_EMAIL=email@example.com @@ -210,6 +211,21 @@ This document describes the recommended setup for an non-containerized Atlas ser } ``` + ```bash + sudo nano /etc/atlas/mainmenupromos_updateneeded.json + ``` + + ```json + { + "largeButton": { + "Title": "Update Northstar", + "Text": "An update is required to play multiplayer.", + "Url": "https://github.com/R2Northstar/Northstar/releases/latest", + "ImageIndex": 12 + } + } + ``` + 6. Create the systemd unit. ```bash -- cgit v1.2.3