Re: [systemd-devel] Query regards to undefine property

2016-01-26 Thread Mohit Agrawal
Hi Lennart, Thank you very much for your reply.After set cgroup property to -1 it is showing value is updated in systemctl output systemctl show properties sshd.service -p CPUShares CPUShares=18446744073709551615 but value is not updated in cgroup configuration in below file, cat cpu,c

[systemd-devel] Can one service receive SD_NOTIFY (Ready) message of another service?

2016-01-26 Thread Pathangi Janardhanan
Hi All, The use case I have is following: I have a service B, which for its operation depends on Service A. Using systemd feature, I can make systemd start service B after service A has indicated ready. The issue is service B also does a lot of initialization which is independent of service A

Re: [systemd-devel] Howto get the original TTY in a service

2016-01-26 Thread Martin Vogt
On Tue, Jan 26, 2016 at 2:35 PM, Mantas Mikulėnas wrote: > On Tue, Jan 26, 2016 at 3:31 PM, Martin Vogt wrote: > >> >> I need the console in a shutdownselect.service file (and in the script) >> where the user pressed CTRL+ALT+DEL. >> >> I cannot figure out how to do it. >> >> The script started

Re: [systemd-devel] Howto get the original TTY in a service

2016-01-26 Thread Mantas Mikulėnas
On Tue, Jan 26, 2016 at 3:31 PM, Martin Vogt wrote: > > Hello list, > > in a desktop session it is common behaviour to have a pop up dialog > if the user presses CTRL+ALT+DEL. > If the user press cancel, the original desktop is resumed. > > I like to have the same functionality on a virtual conso

[systemd-devel] Howto get the original TTY in a service

2016-01-26 Thread Martin Vogt
Hello list, in a desktop session it is common behaviour to have a pop up dialog if the user presses CTRL+ALT+DEL. If the user press cancel, the original desktop is resumed. I like to have the same functionality on a virtual console. If the user hits CTRL+ALT+DEL on /dev/tty2 I can display a dialo