aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ContainerFile3
-rwxr-xr-xbin/ak-startup6
2 files changed, 8 insertions, 1 deletions
diff --git a/ContainerFile b/ContainerFile
index 0dbea43..59c5444 100644
--- a/ContainerFile
+++ b/ContainerFile
@@ -8,6 +8,7 @@ RUN git config --global init.defaultBranch master
EXPOSE 4001/tcp
EXPOSE 5001/tcp
EXPOSE 8080/tcp
-ENTRYPOINT ["tail","-f","/root/.arching-kaos/logs"]
+EXPOSE 8610/tcp
+ENTRYPOINT ["/root/.arching-kaos/bin/ak-startup"]
diff --git a/bin/ak-startup b/bin/ak-startup
new file mode 100755
index 0000000..a8a3e34
--- /dev/null
+++ b/bin/ak-startup
@@ -0,0 +1,6 @@
+#!/bin/bash
+PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:$HOME/bin:$HOME/.arching-kaos/bin
+screen -dmS ipfs-daemon ipfs daemon
+source $HOME/.arching-kaos/rc
+screen -dmS akdaemon ak-daemon
+ak-logfollow