MassageRobot_Dobot/UI_next/ui_next_app.service

21 lines
585 B
Desktop File
Executable File

[Unit]
Description=UI-Next
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/home/jsfb/jsfb_ws/MassageRobot_Dobot/UI_next
Environment="PATH=/home/jsfb/anaconda3/envs/CPU_robotarm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Environment="PULSE_SERVER=unix:/run/user/1000/pulse/native"
Environment="DISPLAY=:0"
Environment="XDG_RUNTIME_DIR=/run/user/1000"
ExecStart=/home/jsfb/anaconda3/envs/CPU_robotarm/bin/python app.pyc
Restart=on-failure
User=jsfb
Group=jsfb
TimeoutStopSec=5
[Install]
WantedBy=multi-user.target