From 19353faa0a4c5495639ed9acbeccafa9eb1251ab Mon Sep 17 00:00:00 2001 From: Bas van den Berg <74251551+bvdberg01@users.noreply.github.com> Date: Tue, 25 Mar 2025 14:28:52 +0100 Subject: [PATCH] Update manyfold-install.sh --- install/manyfold-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/manyfold-install.sh b/install/manyfold-install.sh index 5c22c5f..5bb5ff6 100644 --- a/install/manyfold-install.sh +++ b/install/manyfold-install.sh @@ -137,8 +137,7 @@ Type=simple User=root Group=root WorkingDirectory=/opt/manyfold -EnvironmentFile=/opt/.env -ExecStart=/usr/bin/bash -lc '/opt/manyfold/bin/rails server -b 127.0.0.1 --port 5000 --environment production' +ExecStart=/usr/bin/bash -lc 'source /opt/.env && /opt/manyfold/bin/rails server -b 127.0.0.1 --port 5000 --environment production' TimeoutSec=30 RestartSec=15s Restart=always