Skip to content

Commit

Permalink
Update fula.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Mar 12, 2024
1 parent 5b99b16 commit 5b4917e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/fxsupport/linux/fula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,12 @@ function dockerPrune() {
}

function restart() {
if [ -d ${FULA_PATH}/kubo ]; then
sudo chmod -R 755 ${FULA_PATH}/kubo
fi
if [ -d ${FULA_PATH}/ipfs-cluster ];then
sudo chmod -R 755 ${FULA_PATH}/ipfs-cluster
fi
if sudo crontab -l | grep -q "$FULA_PATH/resize.sh"; then
echo "Resize cron job found, proceeding..."
# Proceed only if the cron job exists
Expand Down

0 comments on commit 5b4917e

Please sign in to comment.