voicepeak_api/_voicepeak-api.service

14 lines
313 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Gunicorn instance to serve VoicePeak API
After=network.target
[Service]
User=your_username
Group=your_group
WorkingDirectory=/path/to/your/project
Environment="PATH=/path/to/your/project/venv/bin"
ExecStart=/path/to/your/project/run_prod.sh
Restart=always
[Install]
WantedBy=multi-user.target