Skip to content

Commit

Permalink
Merge pull request #17 from husarion/fix-service-restart
Browse files Browse the repository at this point in the history
fix service restart
  • Loading branch information
DominikN authored Jul 10, 2024
2 parents 8a7046a + 3cc449e commit 3236e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/hooks/configure
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fi
$SNAP/usr/bin/configure_hook_ros.sh

# restart services with new ROS 2 config
for service in daemon web-ui web-ws joy teleop_twist_joy; do
for service in daemon web-ui web-ws joy teleop-twist-joy; do
if snapctl services ${SNAP_NAME}.${service} | grep -qw enabled; then
snapctl restart ${SNAP_NAME}.${service}
log "Restarted ${SNAP_NAME}.${service}"
Expand Down

0 comments on commit 3236e41

Please sign in to comment.