[Unit]
Description=ShowenV2 — 数字生命窗口平台
After=network.target dbus.service
Wants=network.target

[Service]
Type=simple
User=showen
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/showen/.Xauthority
WorkingDirectory=/home/showen/Showen/ShowenV2
ExecStart=/home/showen/Showen/ShowenV2/target/release/showen_v2 --config /home/showen/Showen/ShowenV2/configs/dog_state_machine.json
Restart=on-failure
RestartSec=3
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=graphical.target
