16 lines
291 B
SYSTEMD
16 lines
291 B
SYSTEMD
|
[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
|