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
|
After=network.target ejabberd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
WorkingDirectory=/home/isengard_xmpp/xmpp_bot
|
||||||
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
|
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
|
Restart=on-failure
|
||||||
RestartSec=60s
|
RestartSec=60s
|
||||||
User=isengard_xmpp
|
User=isengard_xmpp
|
||||||
|
|
Loading…
Reference in New Issue