isengard-bot/xmpp_bot.service

14 lines
380 B
SYSTEMD

[Unit]
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
Restart=on-failure
RestartSec=60s
User=isengard_xmpp
[Install]
WantedBy=multi-user.target