On 15/08/2019 21.15, Wolfgang Mueller wrote:
On Wed, 14 Aug 2019 at 11:01:13 +0200, Simon Becherer wrote:
[...]
As you remember, nfs_wolfgang.service starts a script called nfsclient. And this script starts another script. Now I know that this nested start is not allowed for scripts started by a /etc/systemd/system/*.service.
Are you sure of that? :-o
So, I changed the structure of my scripts a little bit to avoid the nested start described above, and now IT WORKS!
What I found with scripts started by network manager is that they have a limited time to run; after that limit, all its children are killed. I found the trick to avoid this, but I do not remember it now. Perhaps capture the killing signal. Maybe systemd does something similar, there is a timeout to start a service (can be changed). -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)