Open mdc-webdb opened 2 months ago
The path of the start up files was changed without noted in change log. From: org.springframework.boot.loader.JarLauncher to org.springframework.boot.loader.launch.JarLauncher
The start script is part of the distribution. Have you modified it?
To fix it, yes. here the content(after the change): /etc/systemd/system/rock.service
[Unit]
Description=Opal Rock service
[Service]
WorkingDirectory=/var/lib/rock
EnvironmentFile=/etc/default/rock
User=rock
LimitNOFILE=16384
ExecStart=/usr/lib/jvm/jre-21-openjdk/bin/java $JAVA_ARGS -cp "${ROCK_HOME}/conf:${ROCK_DIST}/lib/*" -DROCK_HOME=${ROCK_HOME} -DROCK_DIST=${ROCK_DIST} -DROCK_LOG=${ROCK_LOG} org.springframework.boot.loader.launch.JarLauncher $ROCK_ARGS
[Install]
WantedBy=network-online.target
It should not be necessary to fix it. The script included in the distribution should be automatically updated. Which system do you use: deb or rpm?
I use the rpm package.
On Rocky 9.4, after the update from rock 2.0.1 to 2.1 the service don't start any more.