mirror of
https://github.com/mightyBroccoli/xmpp-chatbot.git
synced 2024-11-13 22:06:49 +01:00
14 lines
275 B
Text
14 lines
275 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
|