Update SIGHUP handler log message to specify 'Gitea instance'
This commit is contained in:
parent
a02260f265
commit
636d98366d
2
main.py
2
main.py
@ -838,7 +838,7 @@ def handle_sighup(signum, frame):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
print(
|
print(
|
||||||
"Received SIGHUP: pulling latest code from Gitea (branch master)..."
|
"Received SIGHUP: pulling latest code from Gitea instance (branch master)..."
|
||||||
)
|
)
|
||||||
result = subprocess.run(["git", "pull"], capture_output=True, text=True)
|
result = subprocess.run(["git", "pull"], capture_output=True, text=True)
|
||||||
print(result.stdout)
|
print(result.stdout)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user