Am Freitag, den 08.11.2019, 06:53 -0800 schrieb gianpaolo:

The issue seems to be that systemd kills the user processes when starting 
jenkins with systemctl.
I wrote a jenkins .service file and added the Jenkins user to KillExcludeUsers 
in /etc/systemd/logind.conf; 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__gist.github.com_konstruktoid_1bc96c4f5030f37bd5f5142cc2718b35&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=1_8P0BZtOaS0LjGyPOVPmqqvL3_FZ9lTmgb0m6A30mA&s=spaOkHykoZJ1JKRn8vFyAlEwb0AjJHchUSBeCpCURWY&e=>
 https://gist.github.com/konstruktoid/1bc96c4f5030f37bd5f5142cc2718b35

Strange. I am running Jenkins on several Debian and Ubuntu machines and have 
never seen such behaviour.

BTW: You should not modify the service file provided by the package. It's 
better to create an overlay file 
(/etc/systemd/system/jenkins.service.d/local.conf) which contains your 
modifications to avoid having them removed when the package is updated.

Bye...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com<mailto:dhein...@opentext.com>
Website: www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f9268a75c46bf68615dc69f7cf734ce895986a49.camel%40opentext.com.

Reply via email to