diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-04 02:04:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-04 02:04:17 +0100 |
commit | 00d9a8fc3e9e5bafeff6747e978c1685b384e587 (patch) | |
tree | 43c6db3767706ffe339a7040cb0a5dea8bd1ef26 /net-p2p/kubo/files/ipfs.init | |
parent | 799073eb168d35819904276f6c912be4ac76166a (diff) |
gentoo auto-resync : 04:08:2022 - 02:04:17
Diffstat (limited to 'net-p2p/kubo/files/ipfs.init')
-rw-r--r-- | net-p2p/kubo/files/ipfs.init | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-p2p/kubo/files/ipfs.init b/net-p2p/kubo/files/ipfs.init new file mode 100644 index 000000000000..b3798b2175a5 --- /dev/null +++ b/net-p2p/kubo/files/ipfs.init @@ -0,0 +1,17 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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 -m \ + -1 /var/log/ipfs/ipfs.log \ + -2 /var/log/ipfs/ipfs.log" + +depend() { + need net +} |