Re: [systemd-devel] [EXTERNAL] Re: ExecStop doesn't get called when service crashes

2020-06-09 Thread Baskaran, Vinothkumar
Hi Reindal, Thanks for the inputs. In my case, the service is successfully started. The pre-script's return status is also success. Please find the output below. Still, ExecStop doesn't get invoked. I tried replacing it with ExecStopPost, it gets invoked successfully. But, ExecStopPost

Re: [systemd-devel] Grouping services in systemd..

2020-06-09 Thread Umut Tezduyar Lindskog
We had a similar problem and we solved it by using grouping for critical services and then using startup cpu shares for services that should be responsive within that group. Even if you use startup cpu shares and create a target for everything you would want to boot, some unnecessary services

Re: [systemd-devel] ExecStop doesn't get called when service crashes

2020-06-09 Thread Reindl Harald
Am 09.06.20 um 18:07 schrieb Baskaran, Vinothkumar: > I am using systemd-244 in embedded linux yocto 3.1. Here, ExecStop > doesn’t get invoked when the process CcspCrSspis killed. However, when > service is restarted/stopped using ‘systemctl’, it gets invoked > successfully. The system has many

[systemd-devel] ExecStop doesn't get called when service crashes

2020-06-09 Thread Baskaran, Vinothkumar
Hi, I am using systemd-244 in embedded linux yocto 3.1. Here, ExecStop doesn't get invoked when the process CcspCrSsp is killed. However, when service is restarted/stopped using 'systemctl', it gets invoked successfully. The system has many services with ExecStop and it doesn't gets invoked in

Re: [systemd-devel] Missing information from udevadm man page

2020-06-09 Thread Lennart Poettering
On Mo, 08.06.20 22:14, nobody (nobody314...@pm.me) wrote: > Hi, > > I was trying to understand how to write udev rules better and in a tutorial I > had to run the command > udevadm info --query=all --name=devname > I selected /dev/sda for devname and got the following output > http://ix.io/2oFB