radical-api/radical-api.service

16 lines
364 B
SYSTEMD
Raw Permalink Normal View History

2021-11-30 06:42:44 +00:00
[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
2021-11-30 06:42:44 +00:00
[Install]
WantedBy=multi.user.target