From 4e9b3b7743f52abe1e46c80def7768cc7ed27809 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro <gregd@basistech.com> Date: Mon, 31 Jul 2023 12:32:46 -0400 Subject: [PATCH] fix for path --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 83d1fa7964..8602edd3b1 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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 -- GitLab