Add systemd service
This commit is contained in:
parent
f11ca5c320
commit
f0e930e831
1 changed files with 13 additions and 0 deletions
13
botbotbot.service
Normal file
13
botbotbot.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
# /etc/systemd/system/botbotbot.service
|
||||
[Unit]
|
||||
Description=Botbotbot
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=edpibu
|
||||
WorkingDirectory=/data/code/botbotbot.py
|
||||
ExecStart=/data/code/botbotbot.py/env/bin/python -u -m botbotbot
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue