summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-11-03 09:50:58 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-11-03 09:50:58 +0000
commit4e0ef820efb23ccbedd4b14088b04264288189fe (patch)
treed71c3cafa9d4c6add27e7ce87eb1ce2b655a8fd2
parentReleasing version 20211102. (diff)
downloadcompute-tools-4e0ef820efb23ccbedd4b14088b04264288189fe.tar.xz
compute-tools-4e0ef820efb23ccbedd4b14088b04264288189fe.zip
Adding needrestart restart scripts.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r--Makefile2
-rwxr-xr-xshare/needrestart/container@.service3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7bcccc9..4e44a3b 100644
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,7 @@ install: build
mkdir -p $(DESTDIR)/usr/share/$(SOFTWARE)
cp -r VERSION.txt $(DESTDIR)/usr/share/$(SOFTWARE)
- cp -r share/config share/hooks share/keys share/build-scripts share/get-scripts $(DESTDIR)/usr/share/$(SOFTWARE)
+ cp -r share/config share/hooks share/keys share/needrestart share/build-scripts share/get-scripts $(DESTDIR)/usr/share/$(SOFTWARE)
mkdir -p $(DESTDIR)/usr/share/bash-completion/completions
cp -r share/bash-completion/* $(DESTDIR)/usr/share/bash-completion/completions
diff --git a/share/needrestart/container@.service b/share/needrestart/container@.service
new file mode 100755
index 0000000..c52d3c2
--- /dev/null
+++ b/share/needrestart/container@.service
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exit 0