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 --- libexec/container/stop | 3 --- 1 file changed, 3 deletions(-) (limited to 'libexec/container/stop') diff --git a/libexec/container/stop b/libexec/container/stop index 9130c97..98b2afa 100755 --- a/libexec/container/stop +++ b/libexec/container/stop @@ -27,7 +27,6 @@ COMMAND="$(basename ${0})" CONFIG="/etc/${SOFTWARE}/config" HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" -NEEDRESTART="/usr/share/${SOFTWARE}/needrestart" CLEAN="false" @@ -265,8 +264,6 @@ case "${VERBOSE}" in ;; esac -rm -f "/etc/needrestart/restart.d/container@${NAME}.service" - machinectl ${MODE} ${NAME} case "${FORCE}" in -- cgit v1.2.3