diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-03-12 06:30:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-03-31 14:30:16 +0000 |
commit | 66663bd243ff29219b9f0090b6cb02be29b1d059 (patch) | |
tree | 1ec0136e3580f5473d1c2b40e1a72511d2bc22f7 /share/systemd/container-autostart.service | |
parent | Adding container-shell program. (diff) | |
download | compute-tools-66663bd243ff29219b9f0090b6cb02be29b1d059.tar.xz compute-tools-66663bd243ff29219b9f0090b6cb02be29b1d059.zip |
Adding container-autostart program.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/systemd/container-autostart.service')
-rw-r--r-- | share/systemd/container-autostart.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/share/systemd/container-autostart.service b/share/systemd/container-autostart.service new file mode 100644 index 0000000..1424ce8 --- /dev/null +++ b/share/systemd/container-autostart.service @@ -0,0 +1,15 @@ +[Unit] +Description=container-tools automatic start +After=syslog.target network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/container-autostart +#ExecStop= +Delegate=yes +StandardOutput=syslog +StandardError=syslog + +[Install] +WantedBy=multi-user.target |