fix(Live2D): pkill 用绝对路径 + service 加 PATH 环境变量

This commit is contained in:
2026-07-07 14:11:23 +08:00
parent 25508b4c66
commit e5a311fe3a
2 changed files with 4 additions and 3 deletions

View File

@@ -8,6 +8,7 @@ Type=simple
User=showen
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/showen/.Xauthority
Environment=PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
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