Alright bump version one more time for autorestart and that's it
This commit is contained in:
parent
6b2c4069dd
commit
5ab4c13992
10
flake.nix
10
flake.nix
@ -26,7 +26,7 @@
|
||||
in rec {
|
||||
packages.bayshore = pkgs.buildNpmPackage {
|
||||
pname = "bayshore";
|
||||
version = "1.0.9";
|
||||
version = "1.0.10";
|
||||
src = ./.;
|
||||
npmDepsHash = "sha256-VbFdHmPF9we1MS8OibpJY51WKFUK3Iq9xNyb8GiBgL0=";
|
||||
|
||||
@ -142,6 +142,14 @@
|
||||
|
||||
${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
|
||||
|
Loading…
x
Reference in New Issue
Block a user