Re: systemd 230 change - KillUserProcesses defaults to yes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/05/16 14:19, Zbigniew Jędrzejewski-Szmek wrote:
On Fri, May 27, 2016 at 02:16:45PM +0100, Tom Hughes wrote:
On 27/05/16 14:02, Zbigniew Jędrzejewski-Szmek wrote:

It's two lines: [Login]\nKillUserProcesses=no. But please consider
switching to the new mode of using systemd-run instead.

How do I run screen with systemd-run?

I tried "systemd-run --user -t screen" but as soon as I detach from
the screen session it seems to get killed.

See https://www.freedesktop.org/software/systemd/man/systemd-run.html#Examples
(example 5).

Which works fine except that the scope remains even after the screen has exited... Well that and it's a pain to alias screen to that because you only want to do it when it will be starting a new session. That can be solved with a bit of hackery though ;-)

Tom

--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux