nixos/gitea: use systemd-notify, use watchdog (#440644)

authored by Sandro and committed by GitHub 7e744663 252726f4

+2 -1
+2 -1
nixos/modules/services/misc/gitea.nix
··· 890 890 ''; 891 891 892 892 serviceConfig = { 893 - Type = "simple"; 893 + Type = "notify"; 894 894 User = cfg.user; 895 895 Group = cfg.group; 896 896 WorkingDirectory = cfg.stateDir; 897 897 ExecStart = "${exe} web --pid /run/gitea/gitea.pid"; 898 898 Restart = "always"; 899 + WatchdogSec = 30; 899 900 # Runtime directory and mode 900 901 RuntimeDirectory = "gitea"; 901 902 RuntimeDirectoryMode = "0755";