20 lines
577 B
Desktop File
20 lines
577 B
Desktop File
[Unit]
|
|
Description=ShowenV2 — 数字生命窗口平台
|
|
After=network.target dbus.service
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
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
|
|
RestartSec=3
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|