fix permissions

This commit is contained in:
CrazyWolf13 2025-05-05 20:42:39 +02:00
parent 2272827f1a
commit 3b306f8c77
2 changed files with 3 additions and 3 deletions

View File

@ -49,6 +49,7 @@ function update_script() {
cd /opt/"${APPLICATION}"/frontend/src
$STD yarn install
$STD yarn build
chmod +x /opt/"${APPLICATION}"/start.sh
msg_ok "Updated $APP to v${RELEASE}"
msg_info "Starting $APP"

View File

@ -27,6 +27,7 @@ $STD uv pip install -r /opt/streamlink-webui/backend/src/requirements.txt --pyth
cd /opt/"${APPLICATION}"/frontend/src
$STD yarn install
$STD yarn build
chmod +x /opt/"${APPLICATION}"/start.sh
msg_ok "Setup ${APPLICATION}"
msg_info "Creating Service"
@ -46,7 +47,7 @@ After=network.target
[Service]
EnvironmentFile=/opt/${APPLICATION}.env
WorkingDirectory=/opt/${APPLICATION}
ExecStart=start.sh
ExecStart=/opt/${APPLICATION}start.sh
Restart=always
[Install]
@ -58,9 +59,7 @@ msg_ok "Created Service"
motd_ssh
customize
# Cleanup
msg_info "Cleaning up"
rm -f "${RELEASE}".zip
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"