#!/usr/bin/env bash [[ " help ps:help " == *" $1 "* ]] || exit "$DOKKU_NOT_IMPLEMENTED_EXIT" set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x case "$1" in help | ps:help) cat<, List processes running in app container(s) ps:scale [ = [=]], Get/Set how many instances of a given process to run ps:start , Start app container(s) ps:stop , Stop app container(s) ps:rebuild , Rebuild an app ps:rebuildall, Rebuild all apps ps:restart , Restart app container(s) ps:restartall, Restart all deployed app containers ps:restore, Start previously running apps e.g. after reboot EOF ;; *) exit "$DOKKU_NOT_IMPLEMENTED_EXIT" ;; esac