Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions eventual2cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Run the script only if there are remaining binaries in the folder.

During the script you will need to set several parameters:
1. Function - add / delete. Select according to the corresponding directory the script is running from.
2. Artifactory user - The user that runs the Artifactory process and owns the $ARTIFACTORY_HOME directory.
3. Artifactory group - The group that is associated with the $ARTIFACTORY_HOME directory.
4. Destination - The location of the "\_queue" folder. Should be $ARTIFACTORY_HOME/data/eventual/.
2. Artifactory user - The user that runs the Artifactory process and owns the $JFROG_HOME directory.
3. Artifactory group - The group that is associated with the $JFROG_HOME directory.
4. Destination - The location of the "\_queue" folder. Should be $JFROG_HOME/artifactory/data/artifactory/eventual/.
5. Operation - copy / move. Based on the selection the script will perform a `cp` or `mv` function. Copying is usually a safer option, but moving will be much faster and will not result in additional storage.
2 changes: 1 addition & 1 deletion eventual2cluster/eventual2cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if [ "$?" -eq 1 ]; then
done
fi

read -p "4. Please enter your eventual data directory (default: /var/opt/jfrog/artifactory/data/eventual):" destination
read -p "4. Please enter your eventual data directory (default: /var/opt/jfrog/artifactory/data/artifactory/eventual):" destination
destination=${destination:-/var/opt/jfrog/artifactory/data/eventual}
while [ ! -d "$destination" ]; do
read -p "$destination doesn't exist, please enter your eventual data directory (\$ARTIFACTORY_HOME/data/eventual):" destination
Expand Down