This prevents IPFS reaching the limit (1024 by default), which is treated like a low disk space threshold by ipfs and ipfs-cluster
14 lines
250 B
Plaintext
14 lines
250 B
Plaintext
[Unit]
|
|
Description=Start ipfs-cluster
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/bin/ipfs-cluster-service daemon --upgrade
|
|
User=ipfs
|
|
Group=ipfs
|
|
Restart=always
|
|
# Raise the ulimit (max number of open files)
|
|
LimitNOFILE=64000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|