# Configuration settings leveraged by the systemd-managed ipfsd.service

JOURNAL_IDENTIFIER="ipfsd.service"


# ---- settings below this line are rarely manually edited ----------

# /ipfs/$USER/...
MOUNTPOINT_IPFS=/ipfs/ipfsd.service/ipfs
MOUNTPOINT_IPNS=/ipfs/ipfsd.service/ipns
# IPFS's local storage/repo/data-dir (aka IPFS_PATH repository). The natural default is ~/.ipfs/
IPFS_PATH=/var/lib/ipfs/repo
# If set to 1 (true) then the service will attempt to populate IPFS_PATH
# automagically if it has not been done already.
AUTO_INIT=1

# PORT EDITTING IS NOT USED YET
# can see current settings with 'sudo -u ipfs -- IPFS_PATH=/var/lib/ipfs/repo ipfs config Addresses'
# the webUI...
# the gateway (default /ip4/127.0.0.1/tcp/5001 -- http://127.0.0.1:5001)
ADDRESSES_API=5001
# the gateway (default /ip4/127.0.0.1/tcp/8080 -- http://127.0.0.1:8080)
# if desire to externally available, set to /ip4/0.0.0.0/tcp/8080 (and lock it down)
ADDRESSES_GATEWAY=8080
ADDRESSES_GATEWAY_LOCALHOST_ONLY=1


# THESE WILL LIKELY CHANGE IN COMING RELEASES -t0dd
#
# System service defaults.
# Don't change these unless you know what you're doing.
CONFIG_FILE="/etc/ipfs/ipfs.conf"

# ---- Variables rarely used
# OPTIONS will override ipfs.conf settings
# 9 times out of 10, edit your ipfs.conf instead of this.
OPTIONS=""

# ---- Variables no longer used or deprecated ---------------------------------
# PID_FILE configuration only used by .init
# If you configured multiple systemd managed services, you need to copy
# specpatternd.service and edit the pid file setting there.
PID_FILE="/run/ipfsd/ipfsd.pid"
