diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-08 13:45:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-14 12:02:13 +0200 |
commit | e28ab8f48c891c03cf4b3a8ed88b98d38a561960 (patch) | |
tree | 0ae1dbb54e497fc797e5a73fcf3dd2dc487a5572 /etc/brep | |
parent | a31dfac365feef7838b01b1efd3fe058c89484d7 (diff) |
Separate brep module configuration from Apache server configuration
Diffstat (limited to 'etc/brep')
-rwxr-xr-x | etc/brep | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/etc/brep b/etc/brep deleted file mode 100755 index 3ec448b..0000000 --- a/etc/brep +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# file : etc/brep -# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file -# -# Designed to simplify controlling brep services. - -CMD="$1" -SCRIPT_DIR=`dirname $0` - -case $CMD in - start|stop|status) ;; - *) - echo "Usage: brep (start|stop|status)" - exit 1 - ;; -esac - -case $CMD in - start) - $SCRIPT_DIR/pgctl start && $SCRIPT_DIR/apachectl start - ;; - stop) - $SCRIPT_DIR/apachectl stop - $SCRIPT_DIR/pgctl stop - ;; - status) - $SCRIPT_DIR/pgctl status - $SCRIPT_DIR/apachectl status - ;; -esac |