summaryrefslogtreecommitdiffstats
path: root/share/systemd/container-auto.service
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-05-18 18:28:46 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-05-18 18:29:07 +0000
commitb90ddebe1d1cb49c30c3a9d99119e3b0d14995fd (patch)
treea462154b0ea87956dca914338f88544f205ba06a /share/systemd/container-auto.service
parentReleasing debian version 20160501-1. (diff)
downloadopen-infrastructure-compute-tools-b90ddebe1d1cb49c30c3a9d99119e3b0d14995fd.tar.xz
open-infrastructure-compute-tools-b90ddebe1d1cb49c30c3a9d99119e3b0d14995fd.zip
Merging upstream version 20160515.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'share/systemd/container-auto.service')
-rw-r--r--share/systemd/container-auto.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/systemd/container-auto.service b/share/systemd/container-auto.service
new file mode 100644
index 0000000..e9addd7
--- /dev/null
+++ b/share/systemd/container-auto.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=container-tools automatic start
+After=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/container auto --start
+ExecStop=/usr/bin/container auto --stop
+Delegate=yes
+StandardOutput=syslog
+StandardError=syslog
+
+[Install]
+WantedBy=multi-user.target