diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2018-03-06 19:50:01 -0700 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2018-03-06 19:50:01 -0700 |
| commit | b37e172a44261cca9e3b44b3b23fbd134aaab34e (patch) | |
| tree | 740f1619db3e8217343fa424c864ee62e4a77c1b /salt/openbook/ci/files/openbook.gentoo.openrc.debug | |
| parent | a1c77b6cd8ae89cd8acc35fa87aeb48a0a4acdde (diff) | |
Support pure systemd hosts
Issue: IS-75
Diffstat (limited to 'salt/openbook/ci/files/openbook.gentoo.openrc.debug')
| -rw-r--r-- | salt/openbook/ci/files/openbook.gentoo.openrc.debug | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/salt/openbook/ci/files/openbook.gentoo.openrc.debug b/salt/openbook/ci/files/openbook.gentoo.openrc.debug new file mode 100644 index 0000000..75d7bc9 --- /dev/null +++ b/salt/openbook/ci/files/openbook.gentoo.openrc.debug @@ -0,0 +1,17 @@ +#!/sbin/openrc-run + +depend() { + need docker +} + +start() { + ebegin "Starting Openbook" + {{ pillar["ansible"]["dirs"]["output"]["name"] }}/{{ pillar["ci"]["files"]["openbookctl"]["name"] }} debug + eend $? +} + +stop() { + ebegin "Stopping Openbook" + {{ pillar["ansible"]["dirs"]["output"]["name"] }}/{{ pillar["ci"]["files"]["openbookctl"]["name"] }} stop + eend $? +} |
