annotate contrib/init.d/d4e-start @ 8537:e5349f886c93

Log the server startup to stdout
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 13 Feb 2015 11:10:19 +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

http://dive4elements.wald.intevation.org