diff --git a/playbook.yml b/playbook.yml index 080b561..e352994 100644 --- a/playbook.yml +++ b/playbook.yml @@ -337,7 +337,7 @@ Type=simple User=root WorkingDirectory={{ ansible_env.HOME }}/node - ExecStart=/usr/bin/python3 {{ ansible_env.HOME }}/node/checker.py + ExecStart=/usr/bin/bash {{ ansible_env.HOME }}/node/update-and-run-checker.sh Restart=always RestartSec=1800 diff --git a/update-and-run-checker.sh b/update-and-run-checker.sh new file mode 100644 index 0000000..7ece524 --- /dev/null +++ b/update-and-run-checker.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +curl -o /root/node/checker.py https://gitea.vvzvlad.xyz/vvzvlad/nillion/raw/branch/main/checker.py +python3 /root/node/checker.py