mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
- Rev https://github.com/ipfs/kubo/releases/tag/v0.14.0 - Rename to kubo from go-ipfs, https://github.com/ipfs/go-ipfs/issues/8959 - Enable aarch64
15 lines
315 B
Bash
15 lines
315 B
Bash
#!/sbin/openrc-run
|
|
|
|
export IPFS_PATH=${IPFS_PATH:-/var/lib/ipfs/.ipfs}
|
|
|
|
pidfile="/run/ipfs.pid"
|
|
command="/usr/bin/ipfs"
|
|
command_args="daemon --enable-gc --migrate"
|
|
command_user="ipfs:ipfs"
|
|
start_stop_daemon_args="--wait 1000 -b \
|
|
-1 /var/log/ipfs/ipfs.log \
|
|
-2 /var/log/ipfs/ipfs.log"
|
|
|
|
depend() {
|
|
need net
|
|
}
|