summaryrefslogtreecommitdiffstats
path: root/share/needrestart
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-11-13 06:54:58 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-11-13 06:59:24 +0000
commit87ca698bdbb0a423ac6adf7a2c9fabb1263c7520 (patch)
treef18f080a15678656178718f7d3399c2b4ca5cc47 /share/needrestart
parentReleasing version 20211103. (diff)
downloadcompute-tools-87ca698bdbb0a423ac6adf7a2c9fabb1263c7520.tar.xz
compute-tools-87ca698bdbb0a423ac6adf7a2c9fabb1263c7520.zip
Replacing individual needrestart overrides by globally blacklisting container-tools service units.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rw-r--r--share/needrestart/container-tools.conf6
-rwxr-xr-xshare/needrestart/container@.service3
2 files changed, 6 insertions, 3 deletions
diff --git a/share/needrestart/container-tools.conf b/share/needrestart/container-tools.conf
new file mode 100644
index 0000000..cd1c76b
--- /dev/null
+++ b/share/needrestart/container-tools.conf
@@ -0,0 +1,6 @@
+# Open Infrastructure: compute-tools
+
+$nrconf{blacklist_rc} = [
+ # container-tools
+ qr(^container@(.*).service) => 0,
+];
diff --git a/share/needrestart/container@.service b/share/needrestart/container@.service
deleted file mode 100755
index c52d3c2..0000000
--- a/share/needrestart/container@.service
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exit 0