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 +++++++++++++++ share/systemd/container-autostart.service | 15 --------------- 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 share/systemd/container-auto.service delete mode 100644 share/systemd/container-autostart.service (limited to 'share/systemd') 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 diff --git a/share/systemd/container-autostart.service b/share/systemd/container-autostart.service deleted file mode 100644 index 076aa41..0000000 --- a/share/systemd/container-autostart.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=container-tools automatic start -After=network.target - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/container-autostart -#ExecStop= -Delegate=yes -StandardOutput=syslog -StandardError=syslog - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3