fix systemd rate limit keys in wrong section
This commit is contained in:
parent
7265515d64
commit
e034b2085b
1 changed files with 2 additions and 2 deletions
|
|
@ -279,13 +279,13 @@ in
|
||||||
Description = "nova-shell Quickshell bar";
|
Description = "nova-shell Quickshell bar";
|
||||||
PartOf = [ cfg.systemd.target ];
|
PartOf = [ cfg.systemd.target ];
|
||||||
After = [ cfg.systemd.target ];
|
After = [ cfg.systemd.target ];
|
||||||
|
StartLimitIntervalSec = 30;
|
||||||
|
StartLimitBurst = 5;
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = lib.getExe cfg.package;
|
ExecStart = lib.getExe cfg.package;
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 1;
|
RestartSec = 1;
|
||||||
StartLimitIntervalSec = 30;
|
|
||||||
StartLimitBurst = 5;
|
|
||||||
Slice = "session.slice";
|
Slice = "session.slice";
|
||||||
};
|
};
|
||||||
Install.WantedBy = [ cfg.systemd.target ];
|
Install.WantedBy = [ cfg.systemd.target ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue