summaryrefslogtreecommitdiff
path: root/net-p2p/go-ipfs-bin/files/ipfs.service
blob: d942d5697b6193a4c86d70c9d2139f231207324d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=InterPlanetary File System
After=network.target

[Service]
CPUSchedulingPolicy=batch
EnvironmentFile=-/etc/conf.d/ipfs
ExecStart=/usr/bin/ipfs daemon --enable-gc --migrate
ExecStop=/usr/bin/ipfs shutdown
Group=ipfs
LimitNOFILE=8192
PrivateTmp=yes
ProtectSystem=full
Restart=on-failure
Type=simple
User=ipfs

[Install]
WantedBy=multi-user.target