This commit is contained in:
Adrien Bourmault 2022-02-08 20:27:42 +01:00 committed by admin666
parent 775906f43e
commit b2233550a1
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ After=network.target ejabberd.service
[Service] [Service]
WorkingDirectory=/home/isengard_xmpp/xmpp_bot 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 Restart=on-failure
RestartSec=60s RestartSec=60s
User=isengard_xmpp User=isengard_xmpp