premier commit
This commit is contained in:
14
tchapbeta.servicee
Normal file
14
tchapbeta.servicee
Normal file
@@ -0,0 +1,14 @@
|
||||
# /lib/systemd/system/tchapbeta.service
|
||||
[Unit]
|
||||
Description=Tchap Beta
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=chatbeta
|
||||
WorkingDirectory=/opt/tchapbeta
|
||||
ExecStart=/opt/tchapbeta/.venv/bin/python tchapbeta.py
|
||||
Restart=always
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user