replaced command for webapp restart

This commit is contained in:
Andrea Mannocci 2020-07-08 11:44:36 +02:00
parent 04636edf68
commit bbceb4e930
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def on_git_push():
try:
repo = Repo()
repo.remotes.origin.pull()
os.system('sudo systemctl restart paper-demo')
os.system('sudo /bin/systemctl restart paper-demo.service')
return 200
except:
return 500