summaryrefslogtreecommitdiff
path: root/salt/openbook
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-03-09 21:18:23 -0700
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-03-09 21:18:23 -0700
commit732ac669a3c7b579cf5e3598d1c767499e39cb92 (patch)
tree347b0497f45438e8637530d7d985f4fd97332e2b /salt/openbook
parent04701f89f68e59b2b97b91375bfd8cf3bfbaf0e3 (diff)
ExecStop missing from openbook systemd script
Issue: IS-79
Diffstat (limited to 'salt/openbook')
-rw-r--r--salt/openbook/ci/files/openbook.gentoo.systemd.debug3
-rw-r--r--salt/openbook/ci/files/openbook.gentoo.systemd.start3
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