diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-27 09:34:01 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-27 09:34:01 +0200 |
commit | 465d5db06e56dc21072a8ff01258f6815d340b00 (patch) | |
tree | ae16ecf2f980b054caa2f97f48e8fa5f22b768a6 /bin/ak-ipfs-starter | |
parent | 1cb6c8bef840a96baa37392e9833a7674f805a83 (diff) | |
download | arching-kaos-tools-465d5db06e56dc21072a8ff01258f6815d340b00.tar.gz arching-kaos-tools-465d5db06e56dc21072a8ff01258f6815d340b00.tar.bz2 arching-kaos-tools-465d5db06e56dc21072a8ff01258f6815d340b00.zip |
new lib _ak_ipfs
Diffstat (limited to 'bin/ak-ipfs-starter')
-rwxr-xr-x | bin/ak-ipfs-starter | 7 |
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 |