From 471d5e0cc0c6965d40d74c81376b982ccfeb8062 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Wed, 4 Apr 2018 11:55:59 +0200 Subject: [PATCH] missing NODE_ENV=production --- conf/systemd.service | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/systemd.service b/conf/systemd.service index 2a61ed8..54a4e18 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,6 +7,7 @@ Type=simple User=__APP__ Group=__APP__ Environment="PORT=__PORT__" +Environment="NODE_ENV=production" WorkingDirectory=__FINAL_PATH__ ExecStart=__NODE_DIR__/node bin/wwww Restart=always