Skip to content

Commit

Permalink
fix: configure container init since ros and PID1 does not play well t…
Browse files Browse the repository at this point in the history
…ogether
  • Loading branch information
docgalaxyblock committed Nov 16, 2023
1 parent 5456c0b commit e9fc29b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ TimeoutStopSec=120s
ExecStartPre=/bin/rm -f %t/container-openmower-debug.pid %t/container-openmower-debug.ctr-id

ExecStart=/usr/bin/podman run --conmon-pidfile %t/container-openmower-debug.pid --cidfile %t/container-openmower-debug.ctr-id --cgroups=no-conmon \
--replace --detach --tty --privileged \
--replace --detach --tty --init --privileged \
--name openmower-debug \
--network=host \
--volume /dev:/dev \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ExecStartPre=/usr/bin/podman rm -i openmower-debug

# Start the open_mower_ros container
ExecStart=/usr/bin/podman run --conmon-pidfile %t/container-openmower.pid --cidfile %t/container-openmower.ctr-id --cgroups=no-conmon \
--replace --detach --tty --privileged \
--replace --detach --tty --init --privileged \
--name openmower \
--network=host \
--volume /dev:/dev \
Expand Down

0 comments on commit e9fc29b

Please sign in to comment.