Lower the number of connections, change the routing mode to dhtclient, and disable bandwidth metrics. This is hardcoded for now
16 lines
295 B
Plaintext
16 lines
295 B
Plaintext
[Unit]
|
|
Description=Start ipfs
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/bin/ipfs daemon --migrate --routing=dhtclient
|
|
User=ipfs
|
|
Group=ipfs
|
|
Restart=always
|
|
# Raise the ulimit (max number of open files)
|
|
LimitNOFILE=64000
|
|
# Limit the memory usage to 256MB
|
|
MemoryMax=256M
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|