Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On calling sudo supervisor-config restart, the echo in start function
closes the python subprocess shell. Hence moving it to end of function Fixed ifmap-server script to start / stop java irond via supervisor Closes-Bug #1587645 Change-Id: Icded331091910fcd9d033d2739f4438071f230f9 (cherry picked from commit 7245367)
- Loading branch information
Showing
4 changed files
with
60 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#!/bin/sh | ||
|
||
cd /usr/share/ifmap-server | ||
java -cp ./lib/ -jar ./irond.jar >> /var/log/contrail/ifmap-server-console.log 2>&1 | ||
# exec to allow supervisor reap for ifmap process, enabling proper detection and life cycle | ||
# management of the ifmap process. Use the explicit Dlog4j option to allow ifmap process to | ||
# be noticed by ps command and also for user contrail to run ifmap process | ||
exec /usr/bin/java -jar ./irond.jar -Dlog4j.configuration=file:////usr/share/ifmap-server/log4j.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters