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