Skip to content

Commit 55fed22

Browse files
authored
CommaFeed: Bump Java and service file (#9564)
* Bump Java and service file * Update Java
1 parent b4feb43 commit 55fed22

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ct/commafeed.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ function update_script() {
2828
msg_error "No ${APP} Installation Found!"
2929
exit
3030
fi
31+
32+
JAVA_VERSION="25" setup_java
33+
3134
if check_for_gh_release "commafeed" "Athou/commafeed"; then
3235
msg_info "Stopping Service"
3336
systemctl stop commafeed

install/commafeed-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
1717
$STD apt-get install -y rsync
1818
msg_ok "Installed Dependencies"
1919

20-
JAVA_VERSION="17" setup_java
20+
JAVA_VERSION="25" setup_java
2121
fetch_and_deploy_gh_release "commafeed" "Athou/commafeed" "prebuild" "latest" "/opt/commafeed" "commafeed-*-h2-jvm.zip"
2222

2323
msg_info "Creating Service"
@@ -27,7 +27,7 @@ Description=CommaFeed Service
2727
After=network.target
2828
2929
[Service]
30-
ExecStart=java -jar quarkus-run.jar
30+
ExecStart=java -Xminf0.05 -Xmaxf0.1 -jar quarkus-run.jar
3131
WorkingDirectory=/opt/commafeed/
3232
Restart=always
3333

0 commit comments

Comments
 (0)