add autoupdate
This commit is contained in:
parent
0d0abc2c9d
commit
36ef2b48db
@ -337,7 +337,7 @@
|
|||||||
Type=simple
|
Type=simple
|
||||||
User=root
|
User=root
|
||||||
WorkingDirectory={{ ansible_env.HOME }}/node
|
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
|
Restart=always
|
||||||
RestartSec=1800
|
RestartSec=1800
|
||||||
|
|
||||||
|
4
update-and-run-checker.sh
Normal file
4
update-and-run-checker.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user