Skip to content
Snippets Groups Projects
Commit 4e9b3b77 authored by Greg DiCristofaro's avatar Greg DiCristofaro
Browse files

fix for path

parent 8d993fcc
No related branches found
No related tags found
No related merge requests found
......@@ -219,7 +219,7 @@ parts:
# some fixes so solr can startup in containment (use ss instead of lsof and don't use large pages)
sed -i 's/lsof -t -PniTCP:\$SOLR_PORT -sTCP:LISTEN/ss -ln | grep $SOLR_PORT/g' $AUTOPSY_LOCATION/autopsy/solr/bin/autopsy-solr
sed -i 's/lsof -v 2>&1 | grep -q revision/ss --version/g' /home/autopsy/autopsy_snap/squashfs-root/autopsy/autopsy/solr/bin/autopsy-solr
sed -i 's/lsof -v 2>&1 | grep -q revision/ss --version/g' $AUTOPSY_LOCATION/autopsy/solr/bin/autopsy-solr
sed -i '/^.*'-XX:\+UseLargePages'.*$/d' $AUTOPSY_LOCATION/autopsy/solr/bin/autopsy-solr
# wrapper to setup temp dir if not exists; also could be easily modified for debugging purposes with snap try: https://snapcraft.io/docs/snap-try
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment