nginx sync

This commit is contained in:
Zsolt Ero
2023-12-29 03:49:08 +01:00
parent 83e7fbbf54
commit 4b5cc59c70
7 changed files with 114 additions and 62 deletions

View File

@@ -1,8 +1,11 @@
from ssh_lib.config import SCRIPTS_DIR
from ssh_lib.utils import apt_get_install, put
from ssh_lib.utils import apt_get_install, exists, put
def c1000k(c):
if exists(c, 'c1000k-master'):
return
c.run('wget https://github.com/ideawu/c1000k/archive/master.zip -O tmp.zip')
c.run('unzip -o tmp.zip')
c.run('rm tmp.zip')