Skip to content

Instantly share code, notes, and snippets.

View graylan0's full-sized avatar
💭
LOVE-OUR-ENEMY

Graylan graylan0

💭
LOVE-OUR-ENEMY
View GitHub Profile
@lordcirth
lordcirth / ipfs.service
Last active August 20, 2020 14:52
IPFS systemd service with resource limits
[Unit]
Description=IPFS daemon
After=network-online.target
[Service]
ExecStart=/home/ipfs/.nix-profile/bin/ipfs daemon
User=ipfs
LimitNice=10
MemoryHigh=4G
# OOM-killer