aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ContainerFile2
-rwxr-xr-xbin/ak-startup5
-rwxr-xr-xfull_test_with_podman.sh1
3 files changed, 6 insertions, 2 deletions
diff --git a/ContainerFile b/ContainerFile
index 28cd338..fd7d085 100644
--- a/ContainerFile
+++ b/ContainerFile
@@ -10,6 +10,6 @@ EXPOSE 4001/tcp
EXPOSE 5001/tcp
EXPOSE 8080/tcp
EXPOSE 8610/tcp
-ENTRYPOINT ["/root/.arching-kaos/bin/ak-startup"]
+ENTRYPOINT ["/root/.arching-kaos/bin/ak-startup", "--podman"]
diff --git a/bin/ak-startup b/bin/ak-startup
index bd1d582..7a67e58 100755
--- a/bin/ak-startup
+++ b/bin/ak-startup
@@ -6,4 +6,7 @@ ak-ipfs-starter
ak-log-rotate
# screen -dmS akdaemon
ak-daemon > $AK_WORKDIR/akd.log 2>&1 & printf '%s' "$!" > $AK_WORKDIR/akd.pid
-# ak-logfollow
+if [ ! -z $1 ] && [ -n "$1" ] && [ "$1" == "--podman" ]
+then
+ ak log follow
+fi
diff --git a/full_test_with_podman.sh b/full_test_with_podman.sh
index 4412041..3d30acb 100755
--- a/full_test_with_podman.sh
+++ b/full_test_with_podman.sh
@@ -7,6 +7,7 @@ then
container="akt-test-$name"
podman run --name $container -d $tag
podman exec -it $container bash
+ podman container stop $container
podman container rm $container
else
echo "Provide one of the following distros as an argument to work with"