From 732ac669a3c7b579cf5e3598d1c767499e39cb92 Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Fri, 9 Mar 2018 21:18:23 -0700 Subject: ExecStop missing from openbook systemd script Issue: IS-79 --- salt/openbook/ci/files/openbook.gentoo.systemd.debug | 3 ++- salt/openbook/ci/files/openbook.gentoo.systemd.start | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/salt/openbook/ci/files/openbook.gentoo.systemd.debug b/salt/openbook/ci/files/openbook.gentoo.systemd.debug index d8ba723..4f7c903 100644 --- a/salt/openbook/ci/files/openbook.gentoo.systemd.debug +++ b/salt/openbook/ci/files/openbook.gentoo.systemd.debug @@ -3,7 +3,8 @@ Description=Openbook After=network.target nss-lookup.target docker.target [Service] -Type=forking +Type=oneshot +RemainAfterExit=true ExecStart={{ pillar["ansible"]["dirs"]["output"]["name"] }}/{{ pillar["ci"]["files"]["openbookctl"]["name"] }} debug ExecStop={{ pillar["ansible"]["dirs"]["output"]["name"] }}/{{ pillar["ci"]["files"]["openbookctl"]["name"] }} stop diff --git a/salt/openbook/ci/files/openbook.gentoo.systemd.start b/salt/openbook/ci/files/openbook.gentoo.systemd.start index a5b5948..ef70fb3 100644 --- a/salt/openbook/ci/files/openbook.gentoo.systemd.start +++ b/salt/openbook/ci/files/openbook.gentoo.systemd.start @@ -3,7 +3,8 @@ Description=Openbook After=network.target nss-lookup.target docker.target [Service] -Type=forking +Type=oneshot +RemainAfterExit=true ExecStart={{ pillar["ansible"]["dirs"]["output"]["name"] }}/{{ pillar["ci"]["files"]["openbookctl"]["name"] }} start ExecStop={{ pillar["ansible"]["dirs"]["output"]["name"] }}/{{ pillar["ci"]["files"]["openbookctl"]["name"] }} stop -- cgit v1.3