From cb54f87156931224e139dcdd15424ec416b6e595 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 24 Jul 2024 05:47:59 +0300 Subject: minor changes on ak-ipfs-daemon --- lib/_ak_ipfs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/_ak_ipfs') 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(){ -- cgit v1.2.3