Skip to content

Commit

Permalink
Update restartChrome.sh
Browse files Browse the repository at this point in the history
Removed fpWallets
  • Loading branch information
engageub authored Sep 6, 2023
1 parent 7089989 commit 6f9c931
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions restartChrome.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

chrome_profile_data="chromeprofiledata"
fp_wallets_file="fpWallets.js"
chrome_data_folder="chromedata"
i=0
for container in `cat chromecontainers.txt`
Expand All @@ -18,8 +17,6 @@ if [ -d "/chrome/chromedata/data" ];then
chown -R 911:911 /chrome/$chrome_profile_data
cp -r /chrome/$chrome_profile_data /chrome/$chrome_data_folder/data
chown -R 911:911 /chrome/$chrome_data_folder/data
chmod -R 777 /chrome/$fp_wallets_file
cp /chrome/$fp_wallets_file /chrome/$chrome_data_folder/data/$chrome_profile_data
docker update --restart=always $container
docker start $container
exit 1
Expand All @@ -36,8 +33,6 @@ rm -rf /chrome/$chrome_data_folder/data$i/*
chown -R 911:911 /chrome/$chrome_profile_data
cp -r /chrome/$chrome_profile_data /chrome/$chrome_data_folder/data$i
chown -R 911:911 /chrome/$chrome_data_folder/data$i
chmod -R 777 /chrome/$fp_wallets_file
cp /chrome/$fp_wallets_file /chrome/$chrome_data_folder/data$i/$chrome_profile_data
docker update --restart=always $container
docker start $container

Expand Down

0 comments on commit 6f9c931

Please sign in to comment.