diff --git a/conf/systemd.service b/conf/systemd.service index 1d064e4..ba37c09 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -13,6 +13,9 @@ ExecStart=__YNH_NODE__ __YNH_NPM__ run deploy StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit +#To prevent the 502 bad gateway after restore +TimeoutSec=900 + # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these # .. but this should be a good baseline