Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

Commit c3a4899

Browse files
committed
feat(scripts): add IRC_ROOT_DOMAIN variable to configuration scripts
Add IRC_ROOT_DOMAIN to the prepare-config.sh script to display its value or indicate if it's not set. Update ssl-manager.sh to use IRC_ROOT_DOMAIN instead of IRC_DOMAIN for the DOMAIN variable. This change allows for more flexibility and clarity in managing domain configurations, especially when the root domain differs from the IRC-specific domain.
1 parent a2061f8 commit c3a4899

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/prepare-config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ prepare_config() {
8787
echo " IRC_ADMIN_NAME: ${IRC_ADMIN_NAME:-'not set'}"
8888
echo " IRC_ADMIN_EMAIL: ${IRC_ADMIN_EMAIL:-'not set'}"
8989
echo " IRC_SERVICES_SERVER: ${IRC_SERVICES_SERVER:-'not set'}"
90+
echo " IRC_ROOT_DOMAIN: ${IRC_ROOT_DOMAIN:-'not set'}"
9091
}
9192

9293
# Main function

scripts/ssl-manager.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131
set -euo pipefail
3232

3333
# Configuration
34-
DOMAIN="${IRC_DOMAIN:-irc.atl.chat}"
34+
DOMAIN="${IRC_ROOT_DOMAIN:-atl.dev}"
3535
EMAIL="${LETSENCRYPT_EMAIL:-admin@allthingslinux.org}"
3636
TLS_DIR="./unrealircd/conf/tls"
3737
CREDENTIALS_FILE="./cloudflare-credentials.ini"

0 commit comments

Comments
 (0)