From 47d54ddd9ab3634aa58315fe4e92d110a0609739 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 18 May 2016 19:19:11 +0200 Subject: Reworking container-autostart program into container auto command. Signed-off-by: Daniel Baumann --- share/systemd/container-auto.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 share/systemd/container-auto.service (limited to 'share/systemd/container-auto.service') 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 -- cgit v1.2.3