From 13486a0ea4b0dff6f0a0ccc82e66025c9874ed25 Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Sat, 31 May 2025 00:11:59 +0100 Subject: [PATCH] fix: make EnvironmentFile optional in systemd service to prevent startup failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes EnvironmentFile to EnvironmentFile=- in systemd service template, allowing service to start even when .env file doesn't exist during fresh installations. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- scripts/install-pulse.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-pulse.sh b/scripts/install-pulse.sh index af5e58e71..5a8a91268 100755 --- a/scripts/install-pulse.sh +++ b/scripts/install-pulse.sh @@ -1774,7 +1774,7 @@ User=$PULSE_USER Group=$PULSE_USER WorkingDirectory=$PULSE_DIR -EnvironmentFile=$PULSE_DIR/.env +EnvironmentFile=-$PULSE_DIR/.env ExecStart=$node_path $npm_path run start