diff --git a/conf/systemd.service b/conf/systemd.service index ccb8cce..a37151c 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -11,7 +11,7 @@ WorkingDirectory=__INSTALL_DIR__/terraforming-mars EnvironmentFile=__INSTALL_DIR__/.env Environment="__YNH_NODE_LOAD_PATH__" Environment=NODE_ENV=production -ExecStart=__YNH_NPM__ run start +ExecStart=__YNH_NODE__ __YNH_NPM__ run start StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit Restart=on-failure