mirror of
https://github.com/mightyBroccoli/xmpp-chatbot.git
synced 2024-11-14 14:26:48 +01:00
294a728b0f
* changed all lineendings to lf * cleaned up main class * refactor bot * refactor bot functions * moved functions.py to classes dir * code comment changes * changed code comment style - removed unnecessary pass statement + added missing newline * simplified function and return statements
13 lines
262 B
Text
13 lines
262 B
Text
[Unit]
|
|
2 Description=SlixXMPP service bot
|
|
3 After=network.target ejabberd.service
|
|
4
|
|
5 [Service]
|
|
6 Type=simple
|
|
7 ExecStart=/usr/bin/python3 /path/to/main.py
|
|
8 Restart=on-failure
|
|
9 RestartSec=60s
|
|
10 User=nico
|
|
11
|
|
12 [Install]
|
|
13 WantedBy=multi-user.target
|