Compare commits
No commits in common. "1751409f539f75c01f77f860fd139cf9ff361aef" and "c4cfcecb000230c84aa31790d672fbb531d43c0a" have entirely different histories.
1751409f53
...
c4cfcecb00
3 changed files with 12 additions and 15 deletions
|
@ -1,23 +1,23 @@
|
||||||
diff --git a/build.gradle b/build.gradle
|
diff --git a/build.gradle b/build.gradle
|
||||||
index 231b179..f6cd83b 100644
|
index f68c2d6..9d568d2 100644
|
||||||
--- a/build.gradle
|
--- a/build.gradle
|
||||||
+++ b/build.gradle
|
+++ b/build.gradle
|
||||||
@@ -40,7 +40,8 @@ dependencies {
|
@@ -40,7 +40,8 @@ dependencies {
|
||||||
implementation 'com.squareup.okhttp3:okhttp'
|
implementation 'com.squareup.okhttp3:okhttp'
|
||||||
implementation 'com.squareup.okhttp3:okhttp-brotli'
|
implementation 'com.squareup.okhttp3:okhttp-brotli'
|
||||||
implementation 'io.sentry:sentry:6.26.0'
|
implementation 'io.sentry:sentry:6.24.0'
|
||||||
- implementation 'rocks.kavin:reqwest4j:1.0.6'
|
- implementation 'rocks.kavin:reqwest4j:1.0.5'
|
||||||
+ //implementation 'rocks.kavin:reqwest4j:1.0.6'
|
+ //implementation 'rocks.kavin:reqwest4j:1.0.5'
|
||||||
+ implementation files('libs/reqwest4j.jar')
|
+ implementation files('libs/reqwest4j.jar')
|
||||||
implementation 'io.minio:minio:8.5.4'
|
implementation 'io.minio:minio:8.5.4'
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/src/main/java/me/kavin/piped/Main.java b/src/main/java/me/kavin/piped/Main.java
|
diff --git a/src/main/java/me/kavin/piped/Main.java b/src/main/java/me/kavin/piped/Main.java
|
||||||
index a8647c0..3265111 100644
|
index b38464a..42c8f96 100644
|
||||||
--- a/src/main/java/me/kavin/piped/Main.java
|
--- a/src/main/java/me/kavin/piped/Main.java
|
||||||
+++ b/src/main/java/me/kavin/piped/Main.java
|
+++ b/src/main/java/me/kavin/piped/Main.java
|
||||||
@@ -39,7 +39,7 @@ public class Main {
|
@@ -36,7 +36,7 @@ public class Main {
|
||||||
ReqwestUtils.init(Constants.REQWEST_PROXY);
|
YoutubeStreamExtractor.forceFetchIosClient(true);
|
||||||
|
|
||||||
Sentry.init(options -> {
|
Sentry.init(options -> {
|
||||||
- options.setDsn(Constants.SENTRY_DSN);
|
- options.setDsn(Constants.SENTRY_DSN);
|
||||||
|
|
|
@ -1,22 +1,19 @@
|
||||||
#!/sbin/openrc-run
|
#!/sbin/openrc-run
|
||||||
|
|
||||||
name=$RC_SVCNAME
|
name=$RC_SVCNAME
|
||||||
command="/usr/lib/jvm/java-17-openjdk/bin/java"
|
command="/bin/ash"
|
||||||
command_args="-server -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+UseNUMA -XX:+UseG1GC -Xshare:on -jar ./piped.jar"
|
command_args="/home/piped/start.sh"
|
||||||
command_user="piped"
|
command_user="piped"
|
||||||
directory="/home/piped"
|
directory="/home/piped"
|
||||||
|
|
||||||
#output_log="/var/log/$RC_SVCNAME/piped.log"
|
output_log="/var/log/$RC_SVCNAME/piped.log"
|
||||||
error_log="/var/log/$RC_SVCNAME/error.log"
|
error_log="/var/log/$RC_SVCNAME/error.log"
|
||||||
|
|
||||||
pidfile="/run/$RC_SVCNAME/$RC_SVCNAME.pid"
|
pidfile="/run/$RC_SVCNAME/$RC_SVCNAME.pid"
|
||||||
stopsig="SIGKILL"
|
|
||||||
command_background="yes"
|
command_background="yes"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need net
|
need net
|
||||||
use piped-proxy
|
|
||||||
use postgresql
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start_pre() {
|
start_pre() {
|
||||||
|
|
4
start.sh
4
start.sh
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/ash
|
#!/bin/ash
|
||||||
# shellcheck shell=dash
|
# shellcheck shell=dash
|
||||||
|
|
||||||
JAVA_BIN="/usr/lib/jvm/java-17-openjdk/bin/java"
|
JAVA_BIN="/usr/lib/jvm/default-jvm/bin/java"
|
||||||
PIPED="/home/piped/piped.jar"
|
PIPED="/home/piped/piped.jar"
|
||||||
|
|
||||||
"$JAVA_BIN" -server \
|
"$JAVA_BIN" -server \
|
||||||
-Xmx2G \
|
-Xmx1G \
|
||||||
-XX:+UnlockExperimentalVMOptions \
|
-XX:+UnlockExperimentalVMOptions \
|
||||||
-XX:+OptimizeStringConcat \
|
-XX:+OptimizeStringConcat \
|
||||||
-XX:+UseStringDeduplication \
|
-XX:+UseStringDeduplication \
|
||||||
|
|
Loading…
Add table
Reference in a new issue