CommaFeed: Bump Java and service file (#9564)

* Bump Java and service file

* Update Java
This commit is contained in:
Slaviša Arežina 2025-12-02 11:04:22 +01:00 committed by GitHub
parent b4feb4331d
commit 55fed2209d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -28,6 +28,9 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
JAVA_VERSION="25" setup_java
if check_for_gh_release "commafeed" "Athou/commafeed"; then
msg_info "Stopping Service"
systemctl stop commafeed

View File

@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y rsync
msg_ok "Installed Dependencies"
JAVA_VERSION="17" setup_java
JAVA_VERSION="25" setup_java
fetch_and_deploy_gh_release "commafeed" "Athou/commafeed" "prebuild" "latest" "/opt/commafeed" "commafeed-*-h2-jvm.zip"
msg_info "Creating Service"
@ -27,7 +27,7 @@ Description=CommaFeed Service
After=network.target
[Service]
ExecStart=java -jar quarkus-run.jar
ExecStart=java -Xminf0.05 -Xmaxf0.1 -jar quarkus-run.jar
WorkingDirectory=/opt/commafeed/
Restart=always