14 lines
356 B
SYSTEMD
14 lines
356 B
SYSTEMD
|
[Unit]
|
||
|
Description=SlixXMPP service bot
|
||
|
After=network.target ejabberd.service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/usr/bin/python3 /home/isengard_xmpp/bot_main.py --jid isengard@a-lec.org --nick Isengard --password 7M457M8RApgQdeR59HK --room cominfra@salons.a-lec.org
|
||
|
Restart=on-failure
|
||
|
RestartSec=60s
|
||
|
User=isengard_xmpp
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|