isengard-bot/xmpp_bot.service

14 lines
394 B
SYSTEMD
Raw Permalink Normal View History

2022-02-04 12:55:28 +01:00
[Unit]
Description=SlixXMPP service bot
After=network.target ejabberd.service
[Service]
2023-03-15 19:41:29 +01:00
WorkingDirectory=/var/isengard_xmpp/repo
ExecStart=/bin/bash -c 'python3 main.py --jid isengard@a-lec.org --nick Isengard --password $(cat /etc/xmpp_bot/password.conf) --room cominfra-supervision@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