summaryrefslogtreecommitdiffstats
path: root/share/systemd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-06-29 11:29:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-06-29 11:38:54 +0000
commite07edad5f45907e9c7f4d6c24823b80cbe282316 (patch)
treeeb4049b82fc0765fe2f5d731ef52a3a15cdcd282 /share/systemd
parentAdding upstream version 20210411. (diff)
downloadopen-infrastructure-compute-tools-e07edad5f45907e9c7f4d6c24823b80cbe282316.tar.xz
open-infrastructure-compute-tools-e07edad5f45907e9c7f4d6c24823b80cbe282316.zip
Adding upstream version 20210628.upstream/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