Add service file
This commit is contained in:
parent
e689fa9653
commit
16c325faa4
1 changed files with 12 additions and 0 deletions
12
previewbot.service
Normal file
12
previewbot.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=XMPP preview bot
|
||||
After=prosody.service
|
||||
|
||||
[Service]
|
||||
User=nobody
|
||||
Group=nobody
|
||||
WorkingDirectory=/opt/previewbot
|
||||
ExecStart=/usr/bin/python3 previewbot.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue