diff --git a/conf/systemd.service b/conf/systemd.service index 73c9634..5a996f0 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -10,7 +10,7 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/terraforming-mars EnvironmentFile=__INSTALL_DIR__/.env Environment=NODE_ENV=production -ExecStart=npm run start +ExecStart=__YNH_NPM__ run start StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit Restart=on-failure