foxy-dev-team/scripts/foxy-telegram-bot.service

21 lines
734 B
Desktop File

[Unit]
Description=Foxy Dev Team Telegram Bot
After=network.target openclaw-gateway.service foxy-autopilot.service
Wants=foxy-autopilot.service
[Service]
Type=simple
ExecStart=/usr/bin/python3 /home/openclaw/.openclaw/workspace/foxy-dev-team/scripts/foxy-telegram-bot.py
WorkingDirectory=/home/openclaw/.openclaw/workspace
Restart=on-failure
RestartSec=10s
EnvironmentFile=/home/openclaw/.openclaw/.env
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
Environment=XDG_RUNTIME_DIR=/run/user/1000
Environment=DISPLAY=:0
StandardOutput=append:/home/openclaw/.openclaw/logs/foxy-telegram-bot.log
StandardError=append:/home/openclaw/.openclaw/logs/foxy-telegram-bot-error.log
[Install]
WantedBy=graphical-session.target