1
0
mirror of synced 2025-01-23 23:04:07 +01:00

Alright bump version one more time for autorestart and that's it

This commit is contained in:
Luna Nightshade 2023-06-21 23:02:52 +02:00
parent 6b2c4069dd
commit 5ab4c13992

View File

@ -26,7 +26,7 @@
in rec { in rec {
packages.bayshore = pkgs.buildNpmPackage { packages.bayshore = pkgs.buildNpmPackage {
pname = "bayshore"; pname = "bayshore";
version = "1.0.9"; version = "1.0.10";
src = ./.; src = ./.;
npmDepsHash = "sha256-VbFdHmPF9we1MS8OibpJY51WKFUK3Iq9xNyb8GiBgL0="; npmDepsHash = "sha256-VbFdHmPF9we1MS8OibpJY51WKFUK3Iq9xNyb8GiBgL0=";
@ -142,6 +142,14 @@
${pkg}/bin/bayshore ${pkg}/bin/bayshore
''; '';
serviceConfig.Restart = "always";
serviceConfig.RestartSec = "5s";
unitConfig = {
StartLimitIntervalSec = "500";
StartLimitBurst = "5";
};
}; };
# Don't create a user - we *want* to run as root # Don't create a user - we *want* to run as root