File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- # clojure $CLOJURE_OPTS -A:dev:datomic-cloud -m garden-watcher.main clojurians-log.styles
4
- clojure $CLOJURE_OPTS -A:dev:datomic-pro:postgresql -m garden-watcher.main clojurians-log.styles
3
+ if [ " ` hostname` " == " clojurians-log" ]; then
4
+ clojure $CLOJURE_OPTS -A:dev:datomic-pro:postgresql -m garden-watcher.main clojurians-log.styles
5
+ else
6
+ clojure $CLOJURE_OPTS -A:dev:datomic-cloud -m garden-watcher.main clojurians-log.styles
7
+ fi
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- # clojure $CLOJURE_OPTS -A:datomic-cloud -m clojurians-log.application "$@"
4
- clojure $CLOJURE_OPTS -A:datomic-pro:postgresql -m clojurians-log.application " $@ "
3
+ # FIXME: find a better way to configure this on a per-host basis
4
+ if [ " ` hostname` " == " clojurians-log" ]; then
5
+ clojure $CLOJURE_OPTS -A:datomic-pro:postgresql -m clojurians-log.application " $@ "
6
+ else
7
+ clojure $CLOJURE_OPTS -A:datomic-cloud -m clojurians-log.application " $@ "
8
+ fi
You can’t perform that action at this time.
0 commit comments