Skip to content

Fix: Add TimeoutStopSec to send SIGKILL to services #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: humble
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions clearpath_robot/services/clearpath-discovery.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Type=simple
Restart=on-failure
RestartSec=1
ExecStart=/bin/bash -e /etc/clearpath/discovery-server-start
TimeoutStopSec=2

[Install]
WantedBy=clearpath-robot.service
1 change: 1 addition & 0 deletions clearpath_robot/services/clearpath-manipulators.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ After=clearpath-robot.service
User=administrator
Type=simple
ExecStart=/usr/sbin/clearpath-manipulators-start
TimeoutStopSec=2

[Install]
WantedBy=clearpath-robot.service
1 change: 1 addition & 0 deletions clearpath_robot/services/clearpath-platform.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ After=clearpath-robot.service
User=administrator
Type=simple
ExecStart=/usr/sbin/clearpath-platform-start
TimeoutStopSec=2

[Install]
WantedBy=clearpath-robot.service
1 change: 1 addition & 0 deletions clearpath_robot/services/clearpath-robot.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ExecStart=/usr/sbin/clearpath-robot-check
RemainAfterExit=yes
Restart=on-failure
RestartSec=1
TimeoutStopSec=2

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions clearpath_robot/services/clearpath-sensors.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ After=clearpath-robot.service
User=administrator
Type=simple
ExecStart=/usr/sbin/clearpath-sensors-start
TimeoutStopSec=2

[Install]
WantedBy=clearpath-robot.service
1 change: 1 addition & 0 deletions clearpath_robot/services/clearpath-vcan.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Restart=on-failure
User=root
Type=forking
ExecStart=/bin/bash -e /etc/clearpath/vcan-start
TimeoutStopSec=2

[Install]
WantedBy=clearpath-robot.service