aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-starter
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-ipfs-starter')
-rwxr-xr-xbin/ak-ipfs-starter7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/ak-ipfs-starter b/bin/ak-ipfs-starter
index b067259..3685736 100755
--- a/bin/ak-ipfs-starter
+++ b/bin/ak-ipfs-starter
@@ -1,8 +1,11 @@
#!/bin/bash
PROGRAM="$(basename $0)"
-screen -dmS ipfs-daemon ipfs daemon --routing=dht --migrate
+
+source $AK_LIBDIR/_ak_logit
+
+screen -dmS akipfsd ak-ipfs-daemon
if [ "$?" != "0" ]
then
- ak-logthis "$PROGRAM" "ERROR" "Failed to start IPFS daemon"
+ logit "ERROR" "Failed to start IPFS daemon"
exit 1
fi