diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2016-05-18 18:28:46 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2016-05-18 18:29:07 +0000 |
commit | b90ddebe1d1cb49c30c3a9d99119e3b0d14995fd (patch) | |
tree | a462154b0ea87956dca914338f88544f205ba06a /share/systemd/container@.service | |
parent | Releasing debian version 20160501-1. (diff) | |
download | open-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@.service')
-rw-r--r-- | share/systemd/container@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/share/systemd/container@.service b/share/systemd/container@.service new file mode 100644 index 0000000..0bd6766 --- /dev/null +++ b/share/systemd/container@.service @@ -0,0 +1,12 @@ +[Unit] +Description="Container: %i" + +[Service] +Type=simple +ExecStart=/usr/bin/container start --name %i --nspawn +ExecStartPost=/usr/bin/container start --name %i --start +ExecStopPost=/usr/bin/container stop -n %i --clean +KillMode=mixed + +[Install] +WantedBy=multi-user.target |