From b2233550a19e0cab019562f28c1126491bef1198 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Tue, 8 Feb 2022 20:27:42 +0100 Subject: [PATCH] v3.0 --- xmpp_bot.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp_bot.service b/xmpp_bot.service index 9a2ed4f..cf41f6f 100644 --- a/xmpp_bot.service +++ b/xmpp_bot.service @@ -4,7 +4,7 @@ After=network.target ejabberd.service [Service] WorkingDirectory=/home/isengard_xmpp/xmpp_bot -ExecStart=/bin/bash -c 'python3 bot_main.py --jid isengard@a-lec.org --nick Isengard --password $(cat /etc/xmpp_bot/password.conf) --room cominfra@salons.a-lec.org' +ExecStart=/bin/bash -c 'python3 main.py --jid isengard@a-lec.org --nick Isengard --password $(cat /etc/xmpp_bot/password.conf) --room cominfra@salons.a-lec.org' Restart=on-failure RestartSec=60s User=isengard_xmpp