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