Fix log message to reference 'gitea' instead of '/home/git/git' in SIGHUP handler
This commit is contained in:
parent
2668e6eba7
commit
2478fb2f94
2
main.py
2
main.py
@ -838,7 +838,7 @@ def handle_sighup(signum, frame):
|
||||
|
||||
try:
|
||||
print(
|
||||
"Received SIGHUP: pulling latest code from /home/git/git (branch master)..."
|
||||
"Received SIGHUP: pulling latest code from gitea (branch master)..."
|
||||
)
|
||||
result = subprocess.run(["git", "pull"], capture_output=True, text=True)
|
||||
print(result.stdout)
|
||||
|
Loading…
x
Reference in New Issue
Block a user