radical-api/radical-api.service
Riley Housden 16b3d03841
Remove wrapper
- Removed wrapper.py
- Removed main.py
- modified radical-api.service to launch the gunicorn process directly.
- Removed exit code in update method.
2021-12-01 01:52:14 -05:00

15 lines
364 B
Desktop File

[Unit]
Description=Radical API Daemon
After=network.target
StartLimitIntervalSec=0
[Service]
WorkingDirectory=/otp/radical-api
User=radical-api
Group=radical-api
Restart=on-failure
RestartSec=20 3
ExecStart=/usr/bin/env python3.9 -m gunicorn -k uvicorn.workers.UvicornWorker --log-config log.conf --bind 0.0.0.0:8000 api:api
[Install]
WantedBy=multi.user.target