aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_ipfs
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-24 05:47:59 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-24 05:47:59 +0300
commitcb54f87156931224e139dcdd15424ec416b6e595 (patch)
tree02f0eb3a7bb679d58f1195bce6748923cf142393 /lib/_ak_ipfs
parenta5fbf367e42b1d443b526acf515e5fdf71f28c91 (diff)
downloadarching-kaos-tools-cb54f87156931224e139dcdd15424ec416b6e595.tar.gz
arching-kaos-tools-cb54f87156931224e139dcdd15424ec416b6e595.tar.bz2
arching-kaos-tools-cb54f87156931224e139dcdd15424ec416b6e595.zip
minor changes on ak-ipfs-daemon
Diffstat (limited to 'lib/_ak_ipfs')
-rwxr-xr-xlib/_ak_ipfs7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/_ak_ipfs b/lib/_ak_ipfs
index 2a8fc77..2adb8ce 100755
--- a/lib/_ak_ipfs
+++ b/lib/_ak_ipfs
@@ -330,6 +330,13 @@ _ak_ipfs_starter(){
_ak_log_error "Failed to start IPFS daemon"
exit 1
fi
+ akipfsdpid="$(cat $AK_WORKDIR/akipfsd.pid)"
+ ps $akipfsdpid
+ if [ $? -ne 0 ]
+ then
+ _ak_log_error "Failed to start IPFS daemon PID $akipfsdpid"
+ exit 1
+ fi
}
_ak_ipns_resolve(){