From 856c724b5dcbf4b2d6109e21d8ec811c24f5ae48 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 27 Aug 2025 09:38:14 +0200 Subject: [PATCH] Update homebox service paths in homebox.sh --- ct/homebox.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ct/homebox.sh b/ct/homebox.sh index 774f4d433..fd2973fc7 100644 --- a/ct/homebox.sh +++ b/ct/homebox.sh @@ -27,8 +27,9 @@ function update_script() { exit fi if [[ -x /opt/homebox ]]; then - sed -i 's|/opt\b|/opt/homebox|g' /etc/systemd/system/homebox.service - sed -i 's|^ExecStart=/opt/homebox$|ExecStart=/opt/homebox/homebox|' /etc/systemd/system/homebox.service + sed -i 's|WorkingDirectory=/opt$|WorkingDirectory=/opt/homebox|' /etc/systemd/system/homebox.service + sed -i 's|ExecStart=/opt/homebox$|ExecStart=/opt/homebox/homebox|' /etc/systemd/system/homebox.service + sed -i 's|EnvironmentFile=/opt/.env$|EnvironmentFile=/opt/homebox/.env|' /etc/systemd/system/homebox.service systemctl daemon-reload fi