Re: [systemd-devel] How to stop child cgroup caused by PAMName=

2025-02-07 Thread Dluhosch, Michael
ctl. This is exactly the clean solution I was looking for. Thanks and Kind Regards, Michael -Original Message- From: Lennart Poettering Sent: Thursday, February 6, 2025 4:01 PM To: Dluhosch, Michael Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] How to stop child cg

Re: [systemd-devel] How to stop child cgroup caused by PAMName=

2025-02-06 Thread Dluhosch, Michael
: Dluhosch, Michael Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] How to stop child cgroup caused by PAMName= On Thu, Feb 6, 2025 at 10:29 AM Dluhosch, Michael mailto:michael.dluho...@airbus.com>> wrote: Hello, I want a service which executes 'startFoo.sh'

[systemd-devel] How to stop child cgroup caused by PAMName=

2025-02-06 Thread Dluhosch, Michael
Hello, I want a service which executes 'startFoo.sh' exactly like a user 'Foo' would experience it. This is my current approach: [Service] ExecStart=/usr/bin/startFoo.sh User=Foo PAMName=login And it seems to work just fine. But I can't figure out how to stop this service and all of its ch