aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-12-12 12:31:00 +0200
committerkaotisk <kaotisk@arching-kaos.org>2023-12-12 12:31:00 +0200
commit82b235d290a330ba44ff81d248ba1ce5552a4393 (patch)
treef4942f4e92b91742a41088eb46aae3bb2046b9a5
parentdeabc2c4c46237a3d8186f9b59fda5d975dfd50c (diff)
downloadarching-kaos-tools-82b235d290a330ba44ff81d248ba1ce5552a4393.tar.gz
arching-kaos-tools-82b235d290a330ba44ff81d248ba1ce5552a4393.tar.bz2
arching-kaos-tools-82b235d290a330ba44ff81d248ba1ce5552a4393.zip
A more complete take on a programs startup
-rwxr-xr-xbin/ak-startup5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ak-startup b/bin/ak-startup
index a8a3e34..54a9918 100755
--- a/bin/ak-startup
+++ b/bin/ak-startup
@@ -2,5 +2,6 @@
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
+ak-logrotate
+screen -dmS akdaemon ak-daemon > $AK_WORKDIR/akd.log 2> $AK_WORKDIR/akd.err & printf '%s' "$!" > $AK_WORKDIR/akd.pid
+# ak-logfollow