From 8f6299abfe4809f2ab590ee255763f6dd41af74a Mon Sep 17 00:00:00 2001 From: Leo dev Date: Sun, 4 Jan 2026 00:33:16 +0100 Subject: [PATCH] Installer and readme patches --- README.md | 10 ++-------- installer.sh | 5 ++++- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 50006dc..7293b3c 100644 --- a/README.md +++ b/README.md @@ -50,16 +50,10 @@ - [Docker](https://www.docker.com) - [Node.js](https://nodejs.org/en/download/) -Run this on bash +**Being in the home directory is recommended** ```bash -wget -qO- https://raw.githubusercontent.com/orus-dev/dockship/refs/heads/master/installer.sh | bash -``` - -Or with curl - -```bash -curl -fsSL https://raw.githubusercontent.com/orus-dev/dockship/refs/heads/master/installer.sh | bash +git clone https://github.com/orus-dev/dockship.git && cd dockship && bash installer.sh ``` ## License diff --git a/installer.sh b/installer.sh index 30866c2..96a7248 100644 --- a/installer.sh +++ b/installer.sh @@ -70,9 +70,12 @@ After=network.target [Service] Type=simple WorkingDirectory=$(pwd) -ExecStart=$(which npm) run start +# Use Node directly to run Next.js standalone server +ExecStart=$(which node) .next/standalone/server.js Restart=always +RestartSec=5 EnvironmentFile=$(pwd)/.env +Environment=PATH=$(dirname $(which node)):/usr/bin:/bin User=$(whoami) Group=$(whoami)