From 4e0ef820efb23ccbedd4b14088b04264288189fe Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 3 Nov 2021 10:50:58 +0100 Subject: Adding needrestart restart scripts. Signed-off-by: Daniel Baumann --- Makefile | 2 +- share/needrestart/container@.service | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 share/needrestart/container@.service 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 -- cgit v1.2.3