nixos/services/uxplay: update systemd service config

This commit is contained in:
Gabriel Arazas 2024-08-06 11:20:15 +08:00
parent 7d0ee596f2
commit 77411ba102
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -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;
};
}; };
}; };
} }