From 56d973580dee9756713291defef2a6f0b5182f40 Mon Sep 17 00:00:00 2001 From: Luis Camero Date: Wed, 16 Jul 2025 16:47:43 -0400 Subject: [PATCH] Remove limits on RTPrio and MEMLock in systemd services --- clearpath_robot/services/clearpath-manipulators.service | 2 ++ clearpath_robot/services/clearpath-platform-extras.service | 2 ++ clearpath_robot/services/clearpath-platform.service | 2 ++ clearpath_robot/services/clearpath-sensors.service | 2 ++ 4 files changed, 8 insertions(+) diff --git a/clearpath_robot/services/clearpath-manipulators.service b/clearpath_robot/services/clearpath-manipulators.service index a83d5aaa..55df2e63 100755 --- a/clearpath_robot/services/clearpath-manipulators.service +++ b/clearpath_robot/services/clearpath-manipulators.service @@ -7,6 +7,8 @@ After=clearpath-robot.service User=administrator Type=simple ExecStart=/usr/sbin/clearpath-manipulators-start +LimitRTPRIO=infinity +LimitMEMLOCK=infinity [Install] WantedBy=clearpath-robot.service diff --git a/clearpath_robot/services/clearpath-platform-extras.service b/clearpath_robot/services/clearpath-platform-extras.service index be62033a..5f046f5e 100755 --- a/clearpath_robot/services/clearpath-platform-extras.service +++ b/clearpath_robot/services/clearpath-platform-extras.service @@ -7,6 +7,8 @@ After=clearpath-robot.service User=administrator Type=simple ExecStart=/usr/sbin/clearpath-platform-extras-start +LimitRTPRIO=infinity +LimitMEMLOCK=infinity [Install] WantedBy=clearpath-robot.service diff --git a/clearpath_robot/services/clearpath-platform.service b/clearpath_robot/services/clearpath-platform.service index 7884546b..3466108b 100755 --- a/clearpath_robot/services/clearpath-platform.service +++ b/clearpath_robot/services/clearpath-platform.service @@ -7,6 +7,8 @@ After=clearpath-robot.service User=administrator Type=simple ExecStart=/usr/sbin/clearpath-platform-start +LimitRTPRIO=infinity +LimitMEMLOCK=infinity [Install] WantedBy=clearpath-robot.service diff --git a/clearpath_robot/services/clearpath-sensors.service b/clearpath_robot/services/clearpath-sensors.service index d6beda3f..76889a50 100755 --- a/clearpath_robot/services/clearpath-sensors.service +++ b/clearpath_robot/services/clearpath-sensors.service @@ -7,6 +7,8 @@ After=clearpath-robot.service User=administrator Type=simple ExecStart=/usr/sbin/clearpath-sensors-start +LimitRTPRIO=infinity +LimitMEMLOCK=infinity [Install] WantedBy=clearpath-robot.service