nixos/epgstation: set NODE_ENV to "production"

This commit is contained in:
midchildan 2022-08-14 16:25:21 +09:00
parent df1243d856
commit 00fe2c7e98
No known key found for this signature in database
GPG Key ID: A64DE57FA5963935

View File

@ -323,6 +323,8 @@ in
++ lib.optional config.services.mirakurun.enable "mirakurun.service"
++ lib.optional config.services.mysql.enable "mysql.service";
environment.NODE_ENV = "production";
serviceConfig = {
ExecStart = "${cfg.package}/bin/epgstation start";
ExecStartPre = "+${preStartScript}";