radical-bot/radical-bot.service

16 lines
273 B
SYSTEMD
Raw Normal View History

[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