|
Harald Hoyer |
3610a1 |
From 1619e731f7e6c257532898efc0a7008e407d427e Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
3610a1 |
From: Harald Hoyer <harald@hoyer.xyz>
|
|
Harald Hoyer |
3610a1 |
Date: Mon, 18 Dec 2017 09:14:21 +0100
|
|
Harald Hoyer |
3610a1 |
Subject: [PATCH] Merge pull request #330 from danimo/task_max_emergency
|
|
Harald Hoyer |
3610a1 |
|
|
Harald Hoyer |
3610a1 |
Set TaskMax=inifinite for the emergency shell
|
|
Harald Hoyer |
3610a1 |
---
|
|
Harald Hoyer |
3610a1 |
modules.d/98dracut-systemd/dracut-emergency.service | 1 +
|
|
Harald Hoyer |
3610a1 |
1 file changed, 1 insertion(+)
|
|
Harald Hoyer |
3610a1 |
|
|
Harald Hoyer |
3610a1 |
diff --git a/modules.d/98dracut-systemd/dracut-emergency.service b/modules.d/98dracut-systemd/dracut-emergency.service
|
|
Harald Hoyer |
3610a1 |
index 718c4a78..ac25b9f2 100644
|
|
Harald Hoyer |
3610a1 |
--- a/modules.d/98dracut-systemd/dracut-emergency.service
|
|
Harald Hoyer |
3610a1 |
+++ b/modules.d/98dracut-systemd/dracut-emergency.service
|
|
Harald Hoyer |
3610a1 |
@@ -22,6 +22,7 @@ StandardOutput=inherit
|
|
Harald Hoyer |
3610a1 |
StandardError=inherit
|
|
Harald Hoyer |
3610a1 |
KillMode=process
|
|
Harald Hoyer |
3610a1 |
IgnoreSIGPIPE=no
|
|
Harald Hoyer |
3610a1 |
+TasksMax=infinity
|
|
Harald Hoyer |
3610a1 |
|
|
Harald Hoyer |
3610a1 |
# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
|
|
Harald Hoyer |
3610a1 |
# terminates cleanly.
|
|
Harald Hoyer |
3610a1 |
|