From c7e8652d67370d88d2dfc6dfca018c05577bef11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Oliveira?= <48201890+luismco@users.noreply.github.com> Date: Thu, 15 Jan 2026 11:55:16 +0000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> --- install/flatnotes-install.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/install/flatnotes-install.sh b/install/flatnotes-install.sh index 2ea64e0ba..ee7a93ed0 100644 --- a/install/flatnotes-install.sh +++ b/install/flatnotes-install.sh @@ -21,7 +21,7 @@ msg_info "Installing Backend" cd /opt/flatnotes $STD /usr/local/bin/uvx migrate-to-uv $STD /usr/local/bin/uv sync -mkdir data +mkdir /opt/flatnotes/data msg_ok "Installed Backend" msg_info "Installing Frontend" @@ -30,7 +30,8 @@ $STD npm install $STD npm run build msg_ok "Installed Frontend" -msg_info "Configuring Variables" + +msg_info "Creating Service" cat </opt/flatnotes/.env FLATNOTES_AUTH_TYPE='none' FLATNOTES_PATH='/opt/flatnotes/data/' @@ -38,9 +39,6 @@ FLATNOTES_PATH='/opt/flatnotes/data/' #FLATNOTES_PASSWORD='password' #FLATNOTES_SECRET_KEY='secret-key' EOF -msg_ok "Configured Variables" - -msg_info "Creating Service" cat </etc/systemd/system/flatnotes.service [Unit] Description=Flatnotes