aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-starter
blob: 7ce85c21b106d0278288f779db12bc718bb4ad01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
PROGRAM="$(basename $0)"

source $AK_LIBDIR/_ak_log
source $AK_LIBDIR/_ak_ipfs

screen -dmS akipfsd _ak_ipfs_daemon
if [ $? -ne 0 ]
then
    _ak_log_error "Failed to start IPFS daemon"
    exit 1
fi