15 lines
294 B
Desktop File
15 lines
294 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 /otp/radical-api/main.py
|
|
|
|
[Install]
|
|
WantedBy=multi.user.target
|