fix executable

This commit is contained in:
CrazyWolf13 2025-05-06 09:14:37 +02:00
parent b526980d51
commit 39ca0dfce0
2 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@
"config_path": "/opt/streamlink-webui.env", "config_path": "/opt/streamlink-webui.env",
"website": "https://github.com/CrazyWolf13/streamlink-webui", "website": "https://github.com/CrazyWolf13/streamlink-webui",
"logo": null, "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": [ "install_methods": [
{ {
"type": "default", "type": "default",
@ -33,7 +33,7 @@
}, },
"notes": [ "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" "type": "info"
} }
] ]

View File

@ -34,7 +34,7 @@ msg_info "Creating Service"
cat <<'EOF' >/opt/"${APPLICATION}".env cat <<'EOF' >/opt/"${APPLICATION}".env
CLIENT_ID='your_client_id' CLIENT_ID='your_client_id'
CLIENT_SECRET='your_client_secret' CLIENT_SECRET='your_client_secret'
DOWNLOAD_PATH=/opt/streamlink-webui-download' DOWNLOAD_PATH='/opt/streamlink-webui-download'
# BASE_URL='https://sub.domain.com' \ # BASE_URL='https://sub.domain.com' \
# REVERSE_PROXY=True \ # REVERSE_PROXY=True \
EOF EOF
@ -46,8 +46,8 @@ After=network.target
[Service] [Service]
EnvironmentFile=/opt/${APPLICATION}.env EnvironmentFile=/opt/${APPLICATION}.env
WorkingDirectory=/opt/${APPLICATION} WorkingDirectory=/opt/${APPLICATION}/backend/src
ExecStart=source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate && /opt/${APPLICATION}/start.sh ExecStart=/bin/bash -c 'source /opt/${APPLICATION}/backend/src/.venv/bin/activate && exec /opt/${APPLICATION}/start.sh'
Restart=always Restart=always
[Install] [Install]