Mercurial > dive4elements > river
annotate contrib/init.d/d4e-start @ 9791:a00bb9d39c16 3.2.x
Drop explicit host ports
Compose will automatically allocate unassigned ports. These can be looked
up e.g. using `docker compose port'. Enables using several "instances"
of the application with different project names
(`docker compose -p <project name>').
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 20 Jul 2023 10:35:10 +0200 |
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 |