打包修改
This commit is contained in:
parent
f79f080b22
commit
95617d422d
|
@ -25,15 +25,15 @@ def backup_database():
|
||||||
@shared_task
|
@shared_task
|
||||||
def reload_server_git():
|
def reload_server_git():
|
||||||
command = 'bash {}/git_server.sh'.format(SH_PATH)
|
command = 'bash {}/git_server.sh'.format(SH_PATH)
|
||||||
completed = subprocess.run(command, shell=True, capture_output=True, text=True)
|
subprocess.run(command, shell=True, capture_output=True, text=True)
|
||||||
return completed
|
# return completed
|
||||||
|
|
||||||
|
|
||||||
@shared_task
|
@shared_task
|
||||||
def reload_web_git():
|
def reload_web_git():
|
||||||
command = 'bash {}/git_web.sh'.format(SH_PATH)
|
command = 'bash {}/git_web.sh'.format(SH_PATH)
|
||||||
completed = subprocess.run(command, shell=True, capture_output=True, text=True)
|
subprocess.run(command, shell=True, capture_output=True, text=True)
|
||||||
return completed
|
# return completed
|
||||||
|
|
||||||
|
|
||||||
@shared_task
|
@shared_task
|
||||||
|
|
Loading…
Reference in New Issue