summaryrefslogtreecommitdiffstats
path: root/share/systemd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-06-29 11:39:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-06-29 11:39:16 +0000
commit251870158b34972626130b0f20c53b4ee321849a (patch)
tree4172459bf6c9d8085c9ea5d1c1c3d4fca736e179 /share/systemd
parentReleasing debian version 20210411-1. (diff)
downloadopen-infrastructure-compute-tools-251870158b34972626130b0f20c53b4ee321849a.tar.xz
open-infrastructure-compute-tools-251870158b34972626130b0f20c53b4ee321849a.zip
Merging upstream version 20210628.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/systemd')
-rw-r--r--share/systemd/container-auto.service4
-rw-r--r--share/systemd/container@.service1
2 files changed, 3 insertions, 2 deletions
diff --git a/share/systemd/container-auto.service b/share/systemd/container-auto.service
index 4d7e10e..805bdc6 100644
--- a/share/systemd/container-auto.service
+++ b/share/systemd/container-auto.service
@@ -9,8 +9,8 @@ RemainAfterExit=yes
ExecStart=/usr/bin/container auto --start
ExecStop=/usr/bin/container auto --stop
Delegate=yes
-StandardOutput=syslog
-StandardError=syslog
+StandardOutput=journal
+StandardError=journal
[Install]
WantedBy=multi-user.target
diff --git a/share/systemd/container@.service b/share/systemd/container@.service
index 9e9f720..5d4425e 100644
--- a/share/systemd/container@.service
+++ b/share/systemd/container@.service
@@ -4,6 +4,7 @@ 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