mid360 Lidar service is added.

This commit is contained in:
Rooholla-KhorramBakht 2024-12-27 10:02:35 +08:00
parent ef04043962
commit eb9f9d50ef
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ After=multi-user.target
[Service]
Restart=always
ExecStartPre=/usr/bin/docker rm -f go2py_bridge || true
ExecStart=/bin/bash -c '/usr/bin/docker run --rm --name go2py_bridge --privileged --network host -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro --runtime nvidia go2py_bridge:latest'
ExecStart=/bin/bash -c '/usr/bin/docker run --rm --name go2py_bridge --privileged --network host -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro go2py_bridge:latest'
ExecStop=/usr/bin/docker stop -t 2 go2py_bridge
[Install]

View File

@ -6,7 +6,7 @@ After=multi-user.target
[Service]
Restart=always
ExecStartPre=/usr/bin/docker rm -f go2py_robot_description || true
ExecStart=/bin/bash -c '/usr/bin/docker run --rm --name go2py_robot_description --privileged --network host -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro --runtime nvidia go2py_description:latest'
ExecStart=/bin/bash -c '/usr/bin/docker run --rm --name go2py_robot_description --privileged --network host -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro go2py_description:latest'
ExecStop=/usr/bin/docker stop -t 2 go2py_robot_description
[Install]