From ef244400a836e71888eb5a83c6e5c53d0fb097f2 Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Mon, 1 Jul 2024 22:08:22 +0700 Subject: [PATCH] fix: ensure alby hub never uses more than 90% cpu (on RPI zero) --- scripts/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index 8b3e370f..bd03dc89 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -29,6 +29,8 @@ Restart=always RestartSec=1 User=root ExecStart=/opt/albyhub/bin/albyhub +# Hack to ensure Alby Hub never uses more than 90% CPU +CPUQuota=90% Environment="PORT=80" Environment="WORK_DIR=/opt/albyhub/data"