blob: b91bd943d45690d00a94a843aadf43e5da3622cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
|