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.start10
1 files changed, 10 insertions, 0 deletions
diff --git a/salt/openbook/ci/files/openbook.gentoo.systemd.start b/salt/openbook/ci/files/openbook.gentoo.systemd.start
new file mode 100644
index 0000000..35f067a
--- /dev/null
+++ b/salt/openbook/ci/files/openbook.gentoo.systemd.start
@@ -0,0 +1,10 @@
+[Unit]
+Description=Openbook
+After=network.target nss-lookup.target docker.target
+
+[Service]
+Type=forking
+ExecStart={{ pillar["ansible"]["dirs"]["output"]["name"] }}/{{ pillar["ci"]["files"]["openbookctl"]["name"] }} start
+
+[Install]
+WantedBy=multi-user.target