From 0ed0856c66c09b873e4dda220dee2f5cbb1d56ee Mon Sep 17 00:00:00 2001 From: SunFlowerOwl Date: Mon, 24 Nov 2025 16:33:22 -0500 Subject: [PATCH] Fix: Service creation error --- install/manyfold-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/manyfold-install.sh b/install/manyfold-install.sh index f2d7d33eb..df0fde88f 100644 --- a/install/manyfold-install.sh +++ b/install/manyfold-install.sh @@ -110,11 +110,12 @@ $STD bin/rails assets:precompile msg_ok "Installed manyfold" msg_info "Creating Services" +$STD gem install foreman $STD foreman export systemd /etc/systemd/system -a manyfold -u root -f /opt/manyfold/Procfile for f in /etc/systemd/system/manyfold-*.service; do sed -i "s|/bin/bash -lc '|/bin/bash -lc 'source /opt/.env \&\& |" "$f" done -systemctl enable -q --now manyfold manyfold-rails manyfold-default_worker manyfold-performance_worker +systemctl enable -q --now manyfold.target manyfold-rails.1 manyfold-default_worker.1 manyfold-performance_worker.1 cat </etc/nginx/sites-available/manyfold.conf server { listen 80;