mirror of
https://github.com/ipfs/kubo.git
synced 2025-05-17 23:16:11 +08:00
systemd: disable swap-usage for ipfs
This commit is contained in:
@ -26,6 +26,9 @@ After=network.target
|
||||
# enable to specify a higher limit for open files/connections
|
||||
#LimitNOFILE=1000000
|
||||
|
||||
#don't use swap
|
||||
MemorySwapMax=0
|
||||
|
||||
Type=notify
|
||||
User=ipfs
|
||||
Group=ipfs
|
||||
|
Reference in New Issue
Block a user