radical-bot/radical-bot.service

15 lines
273 B
Desktop File

[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