Obtention du mot de passe depuis la conf
This commit is contained in:
parent
13a1bf4629
commit
4136a25f08
|
@ -3,8 +3,8 @@ Description=SlixXMPP service bot
|
|||
After=network.target ejabberd.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
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
|
||||
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'
|
||||
Restart=on-failure
|
||||
RestartSec=60s
|
||||
User=isengard_xmpp
|
||||
|
|
Loading…
Reference in New Issue