-
Improvement
-
Resolution: Duplicate
-
Minor
-
None
-
-
2.332.1, 2.335
The jenkins.service file has Type=Forked - this should be Type=Simple
Being forked prevents the service script from ending until timeout, and the system flags this as a failed startup - Interfers with monitoring, which attempts to restart the already running process.
- relates to
-
JENKINS-41218 Provide native systemd unit
-
- Closed
-
Can you provide more details about the location where you are seeing a Jenkins systemd service configured with Type=Forked?
As noted in the install guide, the Jenkins 2.332.1 upgrade guide, and the blog post, the deb and rpm installers provided by the Jenkins project use a configuration like this:
The Type is notify, not Forked.