summaryrefslogtreecommitdiff
path: root/salt/openbook/ci/files/openbook.redhat.debug
diff options
context:
space:
mode:
Diffstat (limited to 'salt/openbook/ci/files/openbook.redhat.debug')
-rw-r--r--salt/openbook/ci/files/openbook.redhat.debug26
1 files changed, 26 insertions, 0 deletions
diff --git a/salt/openbook/ci/files/openbook.redhat.debug b/salt/openbook/ci/files/openbook.redhat.debug
new file mode 100644
index 0000000..b91bd94
--- /dev/null
+++ b/salt/openbook/ci/files/openbook.redhat.debug
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# openbook
+#
+# chkconfig: 2345 10 90
+# description: Manage the Openbook application
+#
+### BEGIN INIT INFO
+# Provides: openbook
+# Required-Start: docker
+# Required-Stop: docker
+# Short-Description: Bring up/down networking
+# Description: Manage the Openbook application
+### END INIT INFO
+
+case $1 in
+ start*)
+ {{ pillar["ansible"]["dirs"]["output"]["name"] }}/{{ pillar["ci"]["files"]["openbookctl"]["name"] }} debug
+ ;;
+ stop*)
+ {{ pillar["ansible"]["dirs"]["output"]["name"] }}/{{ pillar["ci"]["files"]["openbookctl"]["name"] }} stop
+ ;;
+ *)
+ {{ pillar["ansible"]["dirs"]["output"]["name"] }}/{{ pillar["ci"]["files"]["openbookctl"]["name"] }} help
+ ;;
+esac