kubo/misc/systemd/ipfs.service
@RubenKelevra dfb52fb3e2 systemd.service: enable restart on crash and run as system user 'ipfs'
add some optional paramters with short help texts
add sysuser.conf
2020-04-30 22:00:30 +02:00

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