isengard-bot/xmpp_bot.service

14 lines
380 B
SYSTEMD
Raw Normal View History

2022-02-04 12:55:28 +01:00
[Unit]
Description=SlixXMPP service bot
After=network.target ejabberd.service
[Service]
Type=simple
2022-02-04 21:22:27 +01:00
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
2022-02-04 12:55:28 +01:00
Restart=on-failure
RestartSec=60s
User=isengard_xmpp
[Install]
WantedBy=multi-user.target