summaryrefslogtreecommitdiff
blob: c9ce91294177832033e3fe2c082e79feb5278b19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=InterPlanetary File System
After=network.target

[Service]
CPUSchedulingPolicy=batch
Environment=IPFS_PATH=
ExecStart=/usr/bin/ipfs daemon --enable-gc --migrate
ExecStop=/usr/bin/ipfs shutdown
LimitNOFILE=8192
PrivateTmp=yes
ProtectSystem=full
Restart=on-failure
Type=simple
User=%i

[Install]
WantedBy=multi-user.target