systemd: disable swap-usage for ipfs
@RubenKelevra committed
May 10, 2020 at 16:17 UTC
e9843fbd315fd900b92a36535d12685b8856ebc4
1 file changed
+3
misc/systemd/ipfs.service
+3
@@ -26,6 +26,9 @@ After=network.target
26
# enable to specify a higher limit for open files/connections
27
#LimitNOFILE=1000000
28
29
+#don't use swap
30
+MemorySwapMax=0
31
+
32
Type=notify
33
User=ipfs
34
Group=ipfs