diff --git a/conf/systemd.service b/conf/systemd.service index 48b36ea..4e95b7d 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -10,7 +10,7 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ EnvironmentFile=__INSTALL_DIR__/.env Environment=NODE_ENV=production -ExecStart=__YNH_NODE__ dist/index.js +ExecStart=__YNH_NODE__ __INSTALL_DIR__/__YNH_NPM__ run start StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit Restart=on-failure