diff --git a/bot.py b/bot.py index e0c551b..62ba92f 100644 --- a/bot.py +++ b/bot.py @@ -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')