CommaFeed: Bump Java and service file (#9564)
* Bump Java and service file * Update Java
This commit is contained in:
parent
b4feb4331d
commit
55fed2209d
@ -28,6 +28,9 @@ function update_script() {
|
|||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
JAVA_VERSION="25" setup_java
|
||||||
|
|
||||||
if check_for_gh_release "commafeed" "Athou/commafeed"; then
|
if check_for_gh_release "commafeed" "Athou/commafeed"; then
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
systemctl stop commafeed
|
systemctl stop commafeed
|
||||||
|
|||||||
@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
|
|||||||
$STD apt-get install -y rsync
|
$STD apt-get install -y rsync
|
||||||
msg_ok "Installed Dependencies"
|
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"
|
fetch_and_deploy_gh_release "commafeed" "Athou/commafeed" "prebuild" "latest" "/opt/commafeed" "commafeed-*-h2-jvm.zip"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
@ -27,7 +27,7 @@ Description=CommaFeed Service
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=java -jar quarkus-run.jar
|
ExecStart=java -Xminf0.05 -Xmaxf0.1 -jar quarkus-run.jar
|
||||||
WorkingDirectory=/opt/commafeed/
|
WorkingDirectory=/opt/commafeed/
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user