summaryrefslogtreecommitdiff
path: root/templates/ci/openbook.gentoo
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ci/openbook.gentoo')
-rwxr-xr-xtemplates/ci/openbook.gentoo8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/ci/openbook.gentoo b/templates/ci/openbook.gentoo
index 430d70d..30f65f8 100755
--- a/templates/ci/openbook.gentoo
+++ b/templates/ci/openbook.gentoo
@@ -1,6 +1,6 @@
#!/sbin/openrc-run
-extra_commands=test_database
+extra_commands="debug test_database"
depend() {
need docker
@@ -12,6 +12,12 @@ start() {
eend $?
}
+debug() {
+ ebegin "Starting Openbook in debug mode"
+ /opt/openbook/openbookctl debug
+ eend $?
+}
+
stop() {
ebegin "Stopping Openbook"
/opt/openbook/openbookctl stop