mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-14 08:52:22 +00:00
Update jd2.sh
This commit is contained in:
parent
f6ad7e250b
commit
a43e81e229
@ -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'
|
pct exec "$CTID" -- bash -c 'cd /opt/jdownloader && curl -O https://installer.jdownloader.org/JDownloader.jar'
|
||||||
|
|
||||||
# Crear servicio según sistema
|
# Crear servicio según sistema
|
||||||
if [[ "$OS_TYPE" == "alpine" ]]; then
|
if [[ "$OS_ID" == "alpine" ]]; then
|
||||||
# Servicio OpenRC para Alpine
|
# Servicio OpenRC para Alpine
|
||||||
pct exec "$CTID" -- bash -c 'cat > /etc/init.d/jdownloader <<EOF
|
pct exec "$CTID" -- bash -c 'cat > /etc/init.d/jdownloader <<EOF
|
||||||
#!/sbin/openrc-run
|
#!/sbin/openrc-run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user