On Friday, November 8, 2019 at 4:01:28 PM UTC+1, Dirk Heinrichs wrote: > > 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... > > Thank you very much! I didn't know about the overlay file.
-- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/08cf9397-b76f-4696-87e2-02b251e17171%40googlegroups.com.
