diff --git a/xmpp_bot.service b/xmpp_bot.service index ddbcc5a..2d15a22 100644 --- a/xmpp_bot.service +++ b/xmpp_bot.service @@ -4,7 +4,7 @@ After=network.target ejabberd.service [Service] Type=simple -ExecStart=/usr/bin/python3 /home/isengard_xmpp/bot_main.py --jid isengard@a-lec.org --nick Isengard --password 7M457M8RApgQdeR59HK --room cominfra@salons.a-lec.org +ExecStart=/usr/bin/python3 /home/isengard_xmpp/xmpp_bot/bot_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