1
0
This commit is contained in:
andrea
2025-07-26 19:12:00 +02:00
parent 9b538e7d2f
commit 669701dbb7

2
bot.py
View File

@@ -43,7 +43,7 @@ async def update_bot(update, context):
if err:
_log.log_error(f'update_bot: {chat_id} error {err} while trying to update the app')
return await update.message.reply_text('Errore durante l\'aggiornamento del Bot')
err= _os.system('/usr/bin/systemctl --user start battle_royale.service')
err= _os.system('/usr/bin/systemctl --user restart battle_royale.service')
if err:
_log.log_error(f'update_bot: {chat_id} error {err} while trying to upstart the app')
return await update.message.reply_text('Errore durante il riavvio del Bot')