Mercurial > dive4elements > river
annotate contrib/init.d/d4e-start @ 8456:572c102b1819
Improve error handling.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 29 Oct 2014 19:52:06 +0100 |
parents | 1709c429818a |
children |
rev | line source |
---|---|
7738
1709c429818a
(issue1692) Ãberarbeitetes Init script
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
1 #!/bin/bash |
1709c429818a
(issue1692) Ãberarbeitetes Init script
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
2 cd $FLYSDIR |
1709c429818a
(issue1692) Ãberarbeitetes Init script
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
3 /usr/bin/java -classpath $CLASSPATH $ARGS $MAINCLASS >> $LOGFILE 2>&1& |
1709c429818a
(issue1692) Ãberarbeitetes Init script
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
4 echo $! > $D4E_PID |