Mercurial > dive4elements > river
annotate contrib/init.d/d4e-start @ 9790:75dc4ea60938 3.2.x
Drop using explicit container names
Compose will generate names for the containers and containers can connect
each other on the network via the service names. This avoids the
unnecessary extra "name space" and prepares the application for usage
with different project names.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 20 Jul 2023 10:25:59 +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 |