From e80a91765cb9f3e1fb2192e2b4a8e61c9ed5d6a6 Mon Sep 17 00:00:00 2001 From: vhsdream Date: Wed, 27 Nov 2024 18:25:14 -0500 Subject: [PATCH] add timeout to hoarder-workers --- install/hoarder-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/hoarder-install.sh b/install/hoarder-install.sh index bb5024a0..4361485a 100644 --- a/install/hoarder-install.sh +++ b/install/hoarder-install.sh @@ -164,6 +164,7 @@ ExecStart=pnpm start:prod WorkingDirectory=/opt/hoarder/apps/workers EnvironmentFile=/opt/hoarder/.env Restart=always +TimeoutStopSec=5 [Install] WantedBy=multi-user.target @@ -172,6 +173,9 @@ EOF systemctl -q enable --now meilisearch.service hoarder-web.service hoarder-browser.service hoarder-workers.service msg_ok "Set up Services" +motd_ssh +customize + msg_info "Cleaning up" rm -rf /tmp/meilisearch.deb $STD apt-get autoremove -y