summaryrefslogtreecommitdiffstats
path: root/libexec/container/stop
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 /libexec/container/stop
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 '')
-rwxr-xr-xlibexec/container/stop3
1 files changed, 0 insertions, 3 deletions
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