aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-startup
blob: 7a67e58bcccecac7fe9f980f92cdce62c63337b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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
ak-ipfs-starter
ak-log-rotate
# screen -dmS akdaemon
ak-daemon > $AK_WORKDIR/akd.log 2>&1 & printf '%s' "$!" > $AK_WORKDIR/akd.pid
if [ ! -z $1 ] && [ -n "$1" ] && [ "$1" == "--podman" ]
then
    ak log follow
fi