Update jd2.sh

This commit is contained in:
MacRimi 2025-07-31 15:14:00 +02:00 committed by GitHub
parent f6ad7e250b
commit a43e81e229
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,7 +75,7 @@ pct exec "$CTID" -- mkdir -p /opt/jdownloader
pct exec "$CTID" -- bash -c 'cd /opt/jdownloader && curl -O https://installer.jdownloader.org/JDownloader.jar'
# Crear servicio según sistema
if [[ "$OS_TYPE" == "alpine" ]]; then
if [[ "$OS_ID" == "alpine" ]]; then
# Servicio OpenRC para Alpine
pct exec "$CTID" -- bash -c 'cat > /etc/init.d/jdownloader <<EOF
#!/sbin/openrc-run