16 lines
273 B
SYSTEMD
16 lines
273 B
SYSTEMD
|
[Unit]
|
||
|
Description=Radical Bot Daemon
|
||
|
After=network.target
|
||
|
StartLimitIntervalSec=0
|
||
|
|
||
|
[Service]
|
||
|
WorkingDirectory=/otp/radical-bot
|
||
|
User=radical-bot
|
||
|
Group=radical-bot
|
||
|
Restart=always
|
||
|
RestartSec=20 3
|
||
|
ExecStart=/usr/bin/env python3.9 main.py
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi.user.target
|