diff --git a/conf/systemd.service b/conf/systemd.service index 1767e5c..18c31ce 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,8 +6,8 @@ After=network.target Type=simple User=__APP__ Group=__APP__ -Environment=NODE_PORT=__PORT__ -WorkingDirectory=__INSTALL_DIR__ +Environment="NODE_PORT=__PORT__" +WorkingDirectory=__INSTALL_DIR__/ Environment=PATH=__ENV_PATH__ Environment=NODE_ENV=production ExecStart=__YNH_NPM__ run start