From f62c9869228a4731caf1074f4c05dcc384fd560e Mon Sep 17 00:00:00 2001 From: Bas van den Berg <74251551+bvdberg01@users.noreply.github.com> Date: Sun, 23 Mar 2025 20:36:54 +0100 Subject: [PATCH] Update manyfold-install.sh --- install/manyfold-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/manyfold-install.sh b/install/manyfold-install.sh index 646fd875..22db3999 100644 --- a/install/manyfold-install.sh +++ b/install/manyfold-install.sh @@ -105,8 +105,8 @@ HTTPS_ONLY=false RAILS_ENV=production EOF chown manyfold:manyfold /opt/.env -source /opt/.env && bin/rails db:migrate -source /opt/.env && bin/rails assets:precompile +$STD source /opt/.env && bin/rails db:migrate +$STD source /opt/.env && bin/rails assets:precompile echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed manyfold" @@ -118,8 +118,8 @@ Requires=network.target [Service] Type=simple -User=manyfold -Group=manyfold +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'