mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 04:17:44 +08:00
24 lines
575 B
Desktop File
24 lines
575 B
Desktop File
[Unit]
|
|
Description=InterPlanetary File System (IPFS) daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
|
|
# enable for 1-1024 port listening
|
|
#AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
# enable to specify a custom path see docs/environment-variables.md for further documentations
|
|
#Environment=IPFS_PATH=/custom/ipfs/path
|
|
# enable to specify a higher limit for open files/connections
|
|
#LimitNOFILE=1000000
|
|
|
|
Type=notify
|
|
User=ipfs
|
|
Group=ipfs
|
|
WorkingDirectory=/var/lib/ipfs
|
|
ExecStart=/usr/bin/ipfs daemon --init --migrate
|
|
Restart=on-failure
|
|
KillSignal=SIGINT
|
|
|
|
[Install]
|
|
WantedBy=default.target
|