Files
BSN-Livesystem/deploy/bsn-chatbot.service
T

19 lines
386 B
Desktop File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Unit]
Description=BSN-Livesystem Flask Chatbot Server
After=network.target redis.service
[Service]
Type=simple
User=bsn
Group=bsn
WorkingDirectory=/opt/bsn-livesystem
ExecStart=/opt/bsn-livesystem/venv/bin/python -m src.app
EnvironmentFile=/opt/bsn-livesystem/.env
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target