Rodrigo Arias Mallo a1fd57b67d Move StartLimit* options to unit section
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

Reviewed-by: Aleix Boné <abonerib@bsc.es>
2025-10-01 16:40:18 +02:00
2025-10-01 16:40:17 +02:00
2025-10-01 16:40:17 +02:00
2025-10-01 16:40:16 +02:00
2025-10-01 16:40:17 +02:00
2025-10-01 16:40:17 +02:00
2025-10-01 16:40:17 +02:00
2025-10-01 16:40:15 +02:00
Description
Configuration for NixOS machines.
https://jungle.bsc.es/
88 MiB
Languages
Nix 87.2%
C++ 7%
Shell 3.2%
Python 1.3%
CSS 0.6%
Other 0.5%