From a5a59fced4dc499a0afb054ccd496f5fd4cee239 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Mon, 3 Nov 2025 16:20:34 +0100 Subject: [PATCH] fix: env file location --- install/snowshare-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/snowshare-install.sh b/install/snowshare-install.sh index 98e064a15..d31695b64 100644 --- a/install/snowshare-install.sh +++ b/install/snowshare-install.sh @@ -37,7 +37,7 @@ msg_ok "Set up PostgreSQL Database" msg_info "Installing SnowShare" cd /opt/snowshare $STD npm ci -cat <.env +cat </opt/snowshare.env DATABASE_URL="postgresql://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME" NEXTAUTH_URL="http://localhost:3000" NEXTAUTH_SECRET="$(openssl rand -base64 32)" @@ -56,7 +56,7 @@ Requires=postgresql.service [Service] Type=simple WorkingDirectory=/opt/snowshare -EnvironmentFile=.env +EnvironmentFile=/opt/snowshare.env ExecStart=/usr/bin/npm start Restart=on-failure RestartSec=10