diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2016-05-18 09:33:34 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2016-05-18 18:28:29 +0000 |
commit | 29304d802385787ca4dd04ad6d8d18bb1f01bc2d (patch) | |
tree | 7e67daf3af2f1bc47dafcea7b43389ed08b98159 /share/systemd/container-auto.service | |
parent | Adding upstream version 20160501. (diff) | |
download | open-infrastructure-compute-tools-29304d802385787ca4dd04ad6d8d18bb1f01bc2d.tar.xz open-infrastructure-compute-tools-29304d802385787ca4dd04ad6d8d18bb1f01bc2d.zip |
Adding upstream version 20160515.upstream/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.service | 15 |
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 |