diff options
author | Oleg Titov <oleg.titov@gmail.com> | 2018-12-10 11:10:00 -0600 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-01 19:11:31 +0000 |
commit | 0f54ffe2cbac88c9698034e7bd9b68855907032b (patch) | |
tree | b4d93b8b0be9c5109acf2761a768fd17f0c4a031 /testing/go-ipfs/ipfs.initd | |
parent | b03032407111b3cf7b4203858d53e0d353b5ee61 (diff) | |
download | aports-0f54ffe2cbac88c9698034e7bd9b68855907032b.tar.bz2 aports-0f54ffe2cbac88c9698034e7bd9b68855907032b.tar.xz |
testing/go-ipfs: new aport
https://ipfs.io/
Inter Platnetary File System (IPFS), a peer-to-peer hypermedia distribution protocol
Diffstat (limited to 'testing/go-ipfs/ipfs.initd')
-rw-r--r-- | testing/go-ipfs/ipfs.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/go-ipfs/ipfs.initd b/testing/go-ipfs/ipfs.initd new file mode 100644 index 0000000000..3e4421840e --- /dev/null +++ b/testing/go-ipfs/ipfs.initd @@ -0,0 +1,15 @@ +#!/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 +} |