2022-02-04 12:55:28 +01:00
|
|
|
[Unit]
|
|
|
|
Description=SlixXMPP service bot
|
|
|
|
After=network.target ejabberd.service
|
|
|
|
|
|
|
|
[Service]
|
2022-02-04 21:30:51 +01:00
|
|
|
WorkingDirectory=/home/isengard_xmpp/xmpp_bot
|
2022-02-08 20:27:42 +01:00
|
|
|
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'
|
2022-02-04 12:55:28 +01:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=60s
|
|
|
|
User=isengard_xmpp
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|