From 7227679c5147e3b94cf321d1cea242d53ea03c26 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Wed, 15 Oct 2025 22:29:27 +0900 Subject: [PATCH] nixos/glitchtip: replace `preStart` with `ExecStartPre` --- nixos/modules/services/web-apps/glitchtip.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/modules/services/web-apps/glitchtip.nix b/nixos/modules/services/web-apps/glitchtip.nix index 6a74cda886a1..54ddf7f542b6 100644 --- a/nixos/modules/services/web-apps/glitchtip.nix +++ b/nixos/modules/services/web-apps/glitchtip.nix @@ -236,11 +236,8 @@ in glitchtip = commonService // { description = "GlitchTip"; - preStart = '' - ${lib.getExe pkg} migrate - ''; - serviceConfig = commonServiceConfig // { + ExecStartPre = "${lib.getExe pkg} migrate"; ExecStart = '' ${lib.getExe python.pkgs.gunicorn} \ --bind=${cfg.listenAddress}:${toString cfg.port} \