mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-18 18:19:12 +00:00
nixos/services/uxplay: update systemd service config
This commit is contained in:
parent
7d0ee596f2
commit
77411ba102
@ -39,6 +39,7 @@ in
|
|||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
User = "uxplay";
|
User = "uxplay";
|
||||||
Group = "uxplay";
|
Group = "uxplay";
|
||||||
|
RuntimeDirectory = "uxplay";
|
||||||
|
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
LockPersonality = true;
|
LockPersonality = true;
|
||||||
@ -69,6 +70,10 @@ in
|
|||||||
SystemCallArchitectures = "native";
|
SystemCallArchitectures = "native";
|
||||||
SystemCallErrorNumber = "EPERM";
|
SystemCallErrorNumber = "EPERM";
|
||||||
};
|
};
|
||||||
|
unitConfig = {
|
||||||
|
StartLimitBurst = 5;
|
||||||
|
StartLimitIntervalSec = 10;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user