This commit is contained in:
2024-02-21 19:09:17 +09:00
parent da451cc295
commit b0de0c9089
5 changed files with 13 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
function cron() {
t=`docker ps |grep "ai bot"`
t=`docker ps |grep aios|grep Up`
if [ -z "$t" ];then
docker compose up -d
fi

View File

@@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/zsh
exec "$@"
ai l $HANDLE -p $PASSWORD -s $HOST && ai bot -s $HOST