ansible-ThoTeam / nexus3-oss

Ansible role to install and provision sonatype nexus3-oss
GNU General Public License v3.0
293 stars 209 forks source link

systemd stops nexus with "timeout" using Type=forking. Using Type=simple seems to fix the issue #425

Closed sebthauvette closed 6 months ago

sebthauvette commented 6 months ago

Since I update to nexus 3.67.1-01 , systemd will stop the nexus soon after starting it with the message "systemd[1]: nexus.service: Failed with result 'timeout'."

It seems that with the current service definition, systemd expects the main process to fork a new one and quit. It looks like this is not the case anymore. Changing the service definition to use Type=simple fixes this issue.

Before submitting a PR, I'd like to know if this is the correct solution or if there is a better way to fix this.

sebthauvette commented 6 months ago

The expected behavior (forking) is back after upgrading to 3.68.1-02 .