From 87ca698bdbb0a423ac6adf7a2c9fabb1263c7520 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Nov 2021 07:54:58 +0100 Subject: Replacing individual needrestart overrides by globally blacklisting container-tools service units. Signed-off-by: Daniel Baumann --- share/needrestart/container-tools.conf | 6 ++++++ share/needrestart/container@.service | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 share/needrestart/container-tools.conf delete mode 100755 share/needrestart/container@.service (limited to 'share') 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 -- cgit v1.2.3