summaryrefslogtreecommitdiff
path: root/salt/openbook/ci/files/openbook.gentoo.systemd.start
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-03-06 19:50:01 -0700
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-03-06 19:50:01 -0700
commitb37e172a44261cca9e3b44b3b23fbd134aaab34e (patch)
tree740f1619db3e8217343fa424c864ee62e4a77c1b /salt/openbook/ci/files/openbook.gentoo.systemd.start
parenta1c77b6cd8ae89cd8acc35fa87aeb48a0a4acdde (diff)
Support pure systemd hosts
Issue: IS-75
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