diff --git a/conf/lemmy-ui.service b/conf/lemmy-ui.service index 535e73e..5034c2d 100644 --- a/conf/lemmy-ui.service +++ b/conf/lemmy-ui.service @@ -14,8 +14,7 @@ WorkingDirectory=__INSTALL_DIR__/lemmy-ui/ ExecStart=__YNH_NODE__ dist/js/server.js StandardOutput=append:/var/log/__APP__/__APP__-ui.log StandardError=inherit -Restart=on-failure -RestartSec=1s +Restart=always # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these diff --git a/conf/lemmy.service b/conf/lemmy.service index b81350b..88e476b 100644 --- a/conf/lemmy.service +++ b/conf/lemmy.service @@ -11,8 +11,7 @@ WorkingDirectory=__INSTALL_DIR__/lemmy/ ExecStart=__INSTALL_DIR__/lemmy/lemmy StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit -Restart=on-failure -RestartSec=1s +Restart=always # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these