From cbfc4abda5f50267b8b2a40de90ee57424381ec6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 20 Apr 2024 19:12:42 +0200 Subject: Adding upstream version 20221223. Signed-off-by: Daniel Baumann --- share/systemd/container@.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 share/systemd/container@.service (limited to 'share/systemd/container@.service') diff --git a/share/systemd/container@.service b/share/systemd/container@.service new file mode 100644 index 0000000..4bd7be5 --- /dev/null +++ b/share/systemd/container@.service @@ -0,0 +1,16 @@ +# Open Infrastructure: compute-tools + +[Unit] +Description="Container: %i" +Documentation=man:compute-tools + +[Service] +Type=simple +Environment=TERM=xterm-256color +ExecStart=/usr/bin/container start --name %i --nspawn --no-notification +ExecStartPost=/usr/bin/container start --name %i --start --no-notification +ExecStopPost=/usr/bin/container stop -n %i --clean --no-notification +KillMode=mixed + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3