mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore: tweak niceness of some services
This commit is contained in:
parent
43bb5e3059
commit
8f4ea912a1
4 changed files with 34 additions and 23 deletions
|
|
@ -79,6 +79,9 @@ in {
|
|||
unitConfig = {
|
||||
StopPropagatedFrom = ["${cfg.targetName}.target"];
|
||||
};
|
||||
serviceConfig = {
|
||||
Nice = mkDefault 5;
|
||||
};
|
||||
};
|
||||
serviceOverrides = mkIf (!cfg.dynamicUser) {
|
||||
# XXX: the ci sshd hack requires this for now :<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue