From f1b383d2481249b5b7e80acd9c0492b45177c6fe Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 28 Feb 2021 23:03:22 +0100 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index e942943..16142ad 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__/ -ExecStart=/usr/bin/java -jar -Xmx4g app.jar --server.port=__PORT__ --server.servlet.context-path="__PATH__/" +ExecStart=/usr/bin/java -jar -Xmx1g app.jar --server.port=__PORT__ --server.servlet.context-path="__PATH__/" Restart=on-failure RestartSec=10 StandardOutput=null