mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
nixos/healthchecks: don't compress in debug mode
This commit is contained in:
parent
e92a4bdf78
commit
55a16a6282
@ -213,8 +213,7 @@ in
|
||||
preStart = ''
|
||||
${pkg}/opt/healthchecks/manage.py collectstatic --no-input
|
||||
${pkg}/opt/healthchecks/manage.py remove_stale_contenttypes --no-input
|
||||
${pkg}/opt/healthchecks/manage.py compress
|
||||
'';
|
||||
'' + lib.optionalString (cfg.settings.DEBUG != "True") "${pkg}/opt/healthchecks/manage.py compress";
|
||||
|
||||
serviceConfig = commonConfig // {
|
||||
Restart = "always";
|
||||
|
Loading…
Reference in New Issue
Block a user