Skip to content

Commit

Permalink
Merge pull request #28 from sbesson/config_hardening
Browse files Browse the repository at this point in the history
Service file: add multi-user requirements and increase the limits
  • Loading branch information
sbesson authored May 13, 2024
2 parents 18316b0 + 4eeac13 commit 27f607f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dist/omero-ms-thumbnail.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=OMERO thumbnail microservice server
Requires=redis.service
Requires=multi-user.target
After=multi-user.target
After=network.service

[Service]
Expand All @@ -11,6 +12,8 @@ ExecStart=/opt/omero/OMERO.ms/omero-ms-thumbnail/current/bin/omero-ms-thumbnail
User=omero
Group=omero
Restart=no
LimitNPROC=16384
LimitNOFILE=16384

[Install]
WantedBy=multi-user.target

0 comments on commit 27f607f

Please sign in to comment.