nixos/glitchtip: replace preStart with ExecStartPre
This commit is contained in:
@@ -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} \
|
||||
|
||||
Reference in New Issue
Block a user