From 51dc62aa746ba40980ab42fd21e28a0bf59d515a Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 11 Sep 2023 14:00:11 -0400 Subject: [PATCH] Update paperless-ngx-install.sh update `paperless.creds` --- install/paperless-ngx-install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/install/paperless-ngx-install.sh b/install/paperless-ngx-install.sh index cd2331ce..065594f9 100644 --- a/install/paperless-ngx-install.sh +++ b/install/paperless-ngx-install.sh @@ -124,6 +124,19 @@ if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then $STD apt install -y adminer $STD a2enconf adminer systemctl reload apache2 + echo "" >>~/paperless.creds + echo "Adminer Interface" >>~/paperless.creds + echo $IP/adminer/ >>~/paperless.creds + echo "Adminer System" >>~/paperless.creds + echo PostgreSQL >>~/paperless.creds + echo "Adminer Server" >>~/paperless.creds + echo localhost:5432 >>~/paperless.creds + echo "Adminer Username" >>~/paperless.creds + echo $DB_USER >>~/paperless.creds + echo "Adminer Password" >>~/paperless.creds + echo $DB_PASS >>~/paperless.creds + echo "Adminer Database" >>~/paperless.creds + echo $DB_NAME >>~/paperless.creds msg_ok "Installed Adminer" fi