xmpp-chatbot/magicbot.service.dummy
nico 294a728b0f
refactorization (#1)
* 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
2018-10-01 23:17:09 +02:00

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