summaryrefslogtreecommitdiff
path: root/salt/openbook/ci/files/openbook.gentoo.systemd.start
diff options
context:
space:
mode:
Diffstat (limited to 'salt/openbook/ci/files/openbook.gentoo.systemd.start')
-rw-r--r--salt/openbook/ci/files/openbook.gentoo.systemd.start3
1 files changed, 2 insertions, 1 deletions
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