set IPFS_FD_MAX=4096 for daemon

This commit is contained in:
Jeffrey Paul 2018-10-01 23:48:14 -07:00
parent 9b4faa3573
commit de37e36676
Signed by: sneak
GPG Key ID: 052443F4DF2A55C2
1 changed files with 1 additions and 0 deletions

View File

@ -20,4 +20,5 @@ if [[ ! -e $IPFS_PATH/config ]]; then
chpst -u ipfs $IPFS config Datastore.StorageMax "4000GB"
fi
export IPFS_FD_MAX=4096
exec chpst -u ipfs $IPFS daemon