Move StartLimit* options to unit section #153

Manually merged
rarias merged 1 commits from fix-power-policy-unit into master 2025-07-24 14:35:00 +02:00
Owner

The StartLimitBurst and StartLimitIntervalSec options belong to the
[Unit] section, otherwise they are ignored in [Service]:

Unknown key 'StartLimitIntervalSec' in section [Service], ignoring.

When using [Unit], the limits are properly set:

apex% systemctl show power-policy.service | grep StartLimit
StartLimitIntervalUSec=10min
StartLimitBurst=10
StartLimitAction=none
The StartLimitBurst and StartLimitIntervalSec options belong to the [Unit] section, otherwise they are ignored in [Service]: > Unknown key 'StartLimitIntervalSec' in section [Service], ignoring. When using [Unit], the limits are properly set: ``` apex% systemctl show power-policy.service | grep StartLimit StartLimitIntervalUSec=10min StartLimitBurst=10 StartLimitAction=none ```
rarias added 1 commit 2025-07-24 12:57:13 +02:00
The StartLimitBurst and StartLimitIntervalSec options belong to the
[Unit] section, otherwise they are ignored in [Service]:

> Unknown key 'StartLimitIntervalSec' in section [Service], ignoring.

When using [Unit], the limits are properly set:

  apex% systemctl show power-policy.service | grep StartLimit
  StartLimitIntervalUSec=10min
  StartLimitBurst=10
  StartLimitAction=none
rarias requested review from abonerib 2025-07-24 12:57:36 +02:00
abonerib approved these changes 2025-07-24 13:41:46 +02:00
rarias force-pushed fix-power-policy-unit from 8c1f5869fc to d948f8b752 2025-07-24 14:33:19 +02:00 Compare
rarias manually merged commit d948f8b752 into master 2025-07-24 14:35:00 +02:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/jungle#153