From c294142c50932d3d6287962a1d4afa583117e6ef Mon Sep 17 00:00:00 2001 From: Edi Septriyanto Date: Thu, 17 Jun 2021 00:22:11 +0700 Subject: [PATCH] Add env var for swap --- .env.dist | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/.env.dist b/.env.dist index f1c9914..0e060cf 100644 --- a/.env.dist +++ b/.env.dist @@ -8,21 +8,7 @@ # Use development for local environment or production for live environment. ENVIRONMENT="production" -# Auto install, true for auto installation, -# false for manual or guided installation. -AUTO_INSTALL=true - -# Cleanup existing LEMP / LAMP stack installation. -AUTO_REMOVE=false -FORCE_REMOVE=false - -# Dry run install, true for testing only. -DRYRUN=false - -# Logging for installation process. -LOGGING=true - -# Server hostname must be valid FQDN format, leave it blank for system default. +# In production, server hostname must be valid FQDN format (e.g. hostname.domain.ext). SERVER_HOSTNAME="" # Server IP address, leave it blank for auto detection. @@ -44,6 +30,23 @@ ADMIN_EMAIL="mail@example.com" # Example: Asia/Jakarta TIMEZONE="UTC" +# Auto install, true for auto installation, +# false for manual or guided installation. +AUTO_INSTALL=true + +# Cleanup existing LEMP / LAMP stack installation. +AUTO_REMOVE=false +FORCE_REMOVE=false + +# Dry run install, true for testing only. +DRYRUN=false + +# Logging for installation process. +LOGGING=true + +# Allocate memory to work as swap. +ENABLE_SWAP=true + # Build directorty. BUILD_DIR="/usr/local/src/lemper"