diff --git a/conf/systemd.service b/conf/systemd.service index 5a996f0..d373217 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=__YNH_NPM__ run start +ExecStart=__INSTALL_DIR__/terraforming-mars/__YNH_NPM__ run start StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit Restart=on-failure