V0.2 de la migration vers systemd
This commit is contained in:
parent
54c5ef471e
commit
241d424212
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ def run_mep_logic(author, commit_msg, branch="main"):
|
|||
subprocess.run(["rsync", "-a", "--exclude=.git", "--exclude=venv", "--exclude=.venv", "--exclude=__pycache__", f"{target_path}/", f"{PROJECT_PATH}/"], check=True)
|
||||
|
||||
# 3. Redémarrage via systemd
|
||||
subprocess.run(["systemctl", "restart", "kuby-bot.service"], check=True, capture_output=True, text=True)
|
||||
subprocess.run(["sudo", "systemctl", "restart", "kuby-bot.service"], check=True, capture_output=True, text=True)
|
||||
|
||||
# 4. Notifier le bot que le déploiement est terminé pour les issues en attente
|
||||
for attempt in range(6):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue