From 39ca0dfce08d5c826ef019fd28d39bf9d2b9eb70 Mon Sep 17 00:00:00 2001 From: CrazyWolf13 Date: Tue, 6 May 2025 09:14:37 +0200 Subject: [PATCH] fix executable --- frontend/public/json/streamlink-webui.json | 4 ++-- install/streamlink-webui-install.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/public/json/streamlink-webui.json b/frontend/public/json/streamlink-webui.json index 6ad227a..3fcdfa4 100644 --- a/frontend/public/json/streamlink-webui.json +++ b/frontend/public/json/streamlink-webui.json @@ -13,7 +13,7 @@ "config_path": "/opt/streamlink-webui.env", "website": "https://github.com/CrazyWolf13/streamlink-webui", "logo": null, - "description": "a simple web-ui to the well-known streamlink cli application ", + "description": "a simple web-ui to the well-known streamlink cli application, which allows you to save twitch streams to your local disk.", "install_methods": [ { "type": "default", @@ -33,7 +33,7 @@ }, "notes": [ { - "text": "This app requires a Twitch Cliend_ID and Client_Secret, set it in the Config file. Look in the documentation of the project on how to obtain it.", + "text": "This app requires a Twitch cliend_ID and client_secret, set it in the config file. Look in the application documentation on how to obtain it.", "type": "info" } ] diff --git a/install/streamlink-webui-install.sh b/install/streamlink-webui-install.sh index 913ab61..23da2e5 100644 --- a/install/streamlink-webui-install.sh +++ b/install/streamlink-webui-install.sh @@ -34,7 +34,7 @@ msg_info "Creating Service" cat <<'EOF' >/opt/"${APPLICATION}".env CLIENT_ID='your_client_id' CLIENT_SECRET='your_client_secret' -DOWNLOAD_PATH=/opt/streamlink-webui-download' +DOWNLOAD_PATH='/opt/streamlink-webui-download' # BASE_URL='https://sub.domain.com' \ # REVERSE_PROXY=True \ EOF @@ -46,8 +46,8 @@ After=network.target [Service] EnvironmentFile=/opt/${APPLICATION}.env -WorkingDirectory=/opt/${APPLICATION} -ExecStart=source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate && /opt/${APPLICATION}/start.sh +WorkingDirectory=/opt/${APPLICATION}/backend/src +ExecStart=/bin/bash -c 'source /opt/${APPLICATION}/backend/src/.venv/bin/activate && exec /opt/${APPLICATION}/start.sh' Restart=always [Install]