From d0ceadc4e7ba773d6fb4b8465ca4433d210e70d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Besson?= Date: Mon, 13 May 2024 11:14:16 +0100 Subject: [PATCH] Service file: add multi-user requirements and increase the limits --- src/dist/omero-ms-pixel-buffer.service | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dist/omero-ms-pixel-buffer.service b/src/dist/omero-ms-pixel-buffer.service index 1e1697d..8ba5615 100755 --- a/src/dist/omero-ms-pixel-buffer.service +++ b/src/dist/omero-ms-pixel-buffer.service @@ -1,6 +1,7 @@ [Unit] Description=OMERO pixel data microservice server -Requires=redis.service +Requires=multi-user.target +After=multi-user.target After=network.service [Service] @@ -11,6 +12,8 @@ ExecStart=/opt/omero/OMERO.ms/omero-ms-pixel-buffer/current/bin/omero-ms-pixel-b User=omero Group=omero Restart=no +LimitNPROC=16384 +LimitNOFILE=16384 [Install] WantedBy=multi-user.target