diff --git a/conf/systemd.service b/conf/systemd.service index 91f3747..69594fa 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__ -Environment=PATH=__ENV_PATH__ +Environment=PATH=__YNH_NODE_LOAD_PATH__ Environment=NODE_ENV=production ExecStart=__YNH_NPM__ start Restart=always