]> jfr.im git - irc/rizon/moo.git/commitdiff
nix fixes
authorAdam <redacted>
Fri, 26 Feb 2016 16:41:15 +0000 (11:41 -0500)
committerAdam <redacted>
Fri, 26 Feb 2016 16:41:15 +0000 (11:41 -0500)
moo/pom.xml
moo/src/main/resources/run.sh [new file with mode: 0755]
run.sh

index 43f794dd495b4496539f2aec29ab56c89fdf9472..fe6eac06a7f147827fda34afeff958f941107200 100644 (file)
@@ -78,7 +78,6 @@
        <build>
                <plugins>
                        <plugin>
-                               <artifactId>maven-assembly-plugin</artifactId>
                                <artifactId>maven-jar-plugin</artifactId>
                                <configuration>
                                        <archive>
diff --git a/moo/src/main/resources/run.sh b/moo/src/main/resources/run.sh
new file mode 100755 (executable)
index 0000000..6107b33
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+java $* > /dev/null 2>&1 &
diff --git a/run.sh b/run.sh
index 32c9953d51bb5de989f6d93beb267a1c0da58850..860a12f5c1c285ddfb5670935f698ddb531bfde3 100755 (executable)
--- a/run.sh
+++ b/run.sh
@@ -1,12 +1,11 @@
 #!/bin/bash
 
-JAR=moo/target/moo-moo-3.0-jar-with-dependencies.jar
-ARGS='-XX:+HeapDumpOnOutOfMemoryError -Xmx16M'
+mvn exec:exec -pl moo
 
-if grep -q -E '^debug: false$' moo.yml ; then
-       java $ARGS -jar $JAR >moo.log 2>&1 &
-       echo "moo started"
-else
-       java $ARGS -jar $JAR
-fi
+#if grep -q -E '^debug: false$' moo.yml ; then
+#      java $ARGS -jar $JAR >moo.log 2>&1 &
+#      echo "moo started"
+#else
+#      java $ARGS -jar $JAR
+#fi