run update if server-profile failed
This commit is contained in:
parent
b349494564
commit
eb65df54b6
@ -87,7 +87,7 @@
|
||||
# Server-Config in Git
|
||||
cd /root
|
||||
[ -d /root/server-$(hostname -s) ] && rm -r /root/server-$(hostname -s)
|
||||
git clone ssh://git@gitea.ds9.dedyn.io:333/olli/server-$(hostname -s).git >/dev/null 2>&1 || exit 0
|
||||
git clone ssh://git@gitea.ds9.dedyn.io:333/olli/server-$(hostname -s).git >/dev/null 2>&1
|
||||
if [ -e /root/server-$(hostname -s)/$(hostname -s).sh ]
|
||||
then
|
||||
bash -x /root/server-$(hostname -s)/$(hostname -s).sh >/var/log/server-$(hostname -s)-update.log 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user