radical-api/radical-api.service

16 lines
294 B
SYSTEMD
Raw 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
2021-11-30 08:11:43 +00:00
ExecStart=/usr/bin/env python3.9 /otp/radical-api/main.py
2021-11-30 06:42:44 +00:00
[Install]
WantedBy=multi.user.target