aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-log-rotate2
-rwxr-xr-xbin/ak-startup3
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/ak-log-rotate b/bin/ak-log-rotate
index 7bfee72..ddf8f84 100755
--- a/bin/ak-log-rotate
+++ b/bin/ak-log-rotate
@@ -1,6 +1,6 @@
#!/bin/bash
-tar cvfz $AK_ARCHIVESDIR/logs_$(date -u +%s).tar.gz $AK_WORKDIR/akd.log $AK_WORKDIR/akd.err $AK_WORKDIR/logs
+tar cvfz $AK_ARCHIVESDIR/logs_$(date -u +%s).tar.gz $AK_WORKDIR/logs
cat /dev/null > $AK_WORKDIR/akd.log
cat /dev/null > $AK_WORKDIR/akd.err
diff --git a/bin/ak-startup b/bin/ak-startup
index 84c0a6c..66a100d 100755
--- a/bin/ak-startup
+++ b/bin/ak-startup
@@ -4,5 +4,6 @@ PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:$HOME/bin:$HOME/.ar
source $HOME/.arching-kaos/rc
ak-ipfs-starter
ak-log-rotate
-screen -dmS akdaemon ak-daemon > $AK_WORKDIR/akd.log 2> $AK_WORKDIR/akd.err & printf '%s' "$!" > $AK_WORKDIR/akd.pid
+# screen -dmS akdaemon
+ak-daemon > $AK_WORKDIR/akd.log 2> $AK_WORKDIR/akd.err & printf '%s' "$!" > $AK_WORKDIR/akd.pid
# ak-logfollow